]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: clean up spaces in -tests files
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 2 Jul 2015 17:34:01 +0000 (10:34 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 2 Jul 2015 17:34:01 +0000 (10:34 -0700)
219 files changed:
basis/alien/endian/endian-tests.factor
basis/bit-arrays/bit-arrays-tests.factor
basis/channels/channels-tests.factor
basis/channels/remote/remote-tests.factor
basis/checksums/fletcher/fletcher-tests.factor
basis/checksums/interleave/interleave-tests.factor
basis/checksums/internet/internet-tests.factor
basis/checksums/md5/md5-tests.factor
basis/checksums/sha/sha-tests.factor
basis/circular/circular-tests.factor
basis/classes/struct/struct-tests.factor
basis/colors/constants/constants-tests.factor
basis/combinators/short-circuit/short-circuit-tests.factor
basis/compiler/tree/cleanup/cleanup-tests.factor
basis/compiler/tree/recursive/recursive-tests.factor
basis/concurrency/combinators/combinators-tests.factor
basis/concurrency/distributed/distributed-tests.factor
basis/concurrency/futures/futures-tests.factor
basis/concurrency/messaging/messaging-tests.factor
basis/core-foundation/attributed-strings/attributed-strings-tests.factor
basis/core-foundation/dictionaries/dictionaries-tests.factor
basis/core-foundation/strings/strings-tests.factor
basis/core-graphics/core-graphics-tests.factor
basis/db/errors/postgresql/postgresql-tests.factor
basis/db/errors/sqlite/sqlite-tests.factor
basis/db/sqlite/sqlite-tests.factor
basis/db/tuples/tuples-tests.factor
basis/delegate/delegate-tests.factor
basis/farkup/farkup-tests.factor
basis/ftp/server/server-tests.factor
basis/functors/functors-tests.factor
basis/furnace/auth/providers/assoc/assoc-tests.factor
basis/globs/globs-tests.factor
basis/graphs/graphs-tests.factor
basis/hash-sets/sequences/sequences-tests.factor
basis/hashtables/sequences/sequences-tests.factor
basis/help/syntax/syntax-tests.factor
basis/html/components/components-tests.factor
basis/http/server/redirection/redirection-tests.factor
basis/http/server/rewrite/rewrite-tests.factor
basis/images/normalization/normalization-tests.factor
basis/io/directories/directories-tests.factor
basis/io/encodings/johab/johab-tests.factor
basis/io/encodings/utf32/utf32-tests.factor
basis/io/launcher/unix/unix-tests.factor
basis/io/pipes/pipes-tests.factor
basis/io/servers/servers-tests.factor
basis/io/sockets/secure/unix/unix-tests.factor
basis/io/standard-paths/macosx/macosx-tests.factor
basis/json/reader/reader-tests.factor
basis/json/writer/writer-tests.factor
basis/linked-assocs/linked-assocs-tests.factor
basis/listener/listener-tests.factor
basis/locals/locals-tests.factor
basis/math/floats/half/half-tests.factor
basis/math/matrices/matrices-tests.factor
basis/math/primes/erato/erato-tests.factor
basis/math/rectangles/positioning/positioning-tests.factor
basis/math/vectors/conversion/conversion-tests.factor
basis/math/vectors/simd/simd-tests.factor
basis/math/vectors/vectors-tests.factor
basis/models/arrow/smart/smart-tests.factor
basis/models/mapping/mapping-tests.factor
basis/models/models-tests.factor
basis/models/product/product-tests.factor
basis/models/range/range-tests.factor
basis/multiline/multiline-tests.factor
basis/peg/ebnf/ebnf-tests.factor
basis/peg/parsers/parsers-tests.factor
basis/peg/search/search-tests.factor
basis/persistent/hashtables/hashtables-tests.factor
basis/prettyprint/prettyprint-tests.factor
basis/promises/promises-tests.factor
basis/regexp/dfa/dfa-tests.factor
basis/regexp/minimize/minimize-tests.factor
basis/regexp/negation/negation-tests.factor
basis/sequences/complex-components/complex-components-tests.factor
basis/sequences/complex/complex-tests.factor
basis/sequences/generalizations/generalizations-tests.factor
basis/sequences/parser/parser-tests.factor
basis/serialize/serialize-tests.factor
basis/shuffle/shuffle-tests.factor
basis/simple-flat-file/simple-flat-file-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
basis/suffix-arrays/suffix-arrays-tests.factor
basis/tools/annotations/annotations-tests.factor
basis/tools/crossref/crossref-tests.factor
basis/tools/errors/errors-tests.factor
basis/tools/scaffold/scaffold-tests.factor
basis/tools/test/fuzz/fuzz-tests.factor
basis/tools/walker/walker-tests.factor
basis/tuple-arrays/tuple-arrays-tests.factor
basis/ui/baseline-alignment/baseline-alignment-tests.factor
basis/ui/commands/commands-tests.factor
basis/ui/gadgets/editors/editors-tests.factor
basis/ui/gadgets/frames/frames-tests.factor
basis/ui/gadgets/glass/glass-tests.factor
basis/ui/gadgets/grid-lines/grid-lines-tests.factor
basis/ui/gadgets/labeled/labeled-tests.factor
basis/ui/gadgets/packs/packs-tests.factor
basis/ui/gadgets/panes/panes-tests.factor
basis/ui/gadgets/paragraphs/paragraphs-tests.factor
basis/ui/gadgets/tracks/tracks-tests.factor
basis/ui/tools/browser/history/history-tests.factor
basis/ui/tools/inspector/inspector-tests.factor
basis/ui/tools/walker/walker-tests.factor
basis/unicode/categories/categories-tests.factor
basis/unicode/categories/syntax/syntax-tests.factor
basis/unix/signals/signals-tests.factor
basis/unrolled-lists/unrolled-lists-tests.factor
basis/urls/encoding/encoding-tests.factor
basis/uuid/uuid-tests.factor
basis/wrap/words/words-tests.factor
basis/xml-rpc/xml-rpc-tests.factor
basis/xmode/marker/marker-tests.factor
core/checksums/crc32/crc32-tests.factor
core/classes/algebra/algebra-tests.factor
core/classes/mixin/mixin-tests.factor
core/continuations/continuations-tests.factor
core/generic/hook/hook-tests.factor
core/generic/standard/standard-tests.factor
core/io/io-tests.factor
core/io/pathnames/pathnames-tests.factor
core/math/parser/parser-tests.factor
core/parser/notes/notes-tests.factor
core/sequences/sequences-tests.factor
core/words/constant/constant-tests.factor
extra/alien/data/map/map-tests.factor
extra/alien/fortran/fortran-tests.factor
extra/annotations/annotations-tests.factor
extra/asn1/asn1-tests.factor
extra/brainfuck/brainfuck-tests.factor
extra/c/lexer/lexer-tests.factor
extra/c/preprocessor/preprocessor-tests.factor
extra/cgi/cgi-tests.factor
extra/classes/struct/vectored/vectored-tests.factor
extra/crypto/barrett/barrett-tests.factor
extra/crypto/rsa/rsa-tests.factor
extra/crypto/xor/xor-tests.factor
extra/ctags/ctags-tests.factor
extra/ctags/etags/etags-tests.factor
extra/cuda/devices/devices-tests.factor
extra/cuda/ptx/ptx-tests.factor
extra/curses/curses-tests.factor
extra/cursors/cursors-tests.factor
extra/euler/b-rep/b-rep-tests.factor
extra/fjsc/fjsc-tests.factor
extra/flip-text/flip-text-tests.factor
extra/forestdb/lib/lib-tests.factor
extra/gpu/render/render-tests.factor
extra/gpu/shaders/shaders-tests.factor
extra/graphviz/graphviz-tests.factor
extra/hash-sets/numbers/numbers-tests.factor
extra/hashcash/hashcash-tests.factor
extra/hashtables/numbers/numbers-tests.factor
extra/html/parser/utils/utils-tests.factor
extra/images/viewer/viewer-tests.factor
extra/infix/parser/parser-tests.factor
extra/ini-file/ini-file-tests.factor
extra/io/encodings/detect/detect-tests.factor
extra/llvm/invoker/invoker-tests.factor
extra/llvm/jit/jit-tests.factor
extra/llvm/wrappers/wrappers-tests.factor
extra/machine-learning/label-binarizer/label-binarizer-tests.factor
extra/mason/platform/platform-tests.factor
extra/mason/release/tidy/tidy-tests.factor
extra/mason/release/upload/upload-tests.factor
extra/math/analysis/analysis-tests.factor
extra/math/blas/matrices/matrices-tests.factor
extra/math/dual/dual-tests.factor
extra/math/floating-point/floating-point-tests.factor
extra/math/matrices/simd/simd-tests.factor
extra/math/numerical-integration/numerical-integration-tests.factor
extra/math/transforms/haar/haar-tests.factor
extra/memcached/memcached-tests.factor
extra/memory/piles/piles-tests.factor
extra/method-chains/method-chains-tests.factor
extra/models/history/history-tests.factor
extra/morse/morse-tests.factor
extra/msxml-to-csv/msxml-to-csv-tests.factor
extra/opencl/ffi/ffi-tests.factor
extra/opencl/opencl-tests.factor
extra/parser-combinators/parser-combinators-tests.factor
extra/partial-continuations/partial-continuations-tests.factor
extra/path-finding/path-finding-tests.factor
extra/pdf/pdf-tests.factor
extra/pdf/units/units-tests.factor
extra/peg/expr/expr-tests.factor
extra/peg/javascript/javascript-tests.factor
extra/peg/javascript/parser/parser-tests.factor
extra/peg/javascript/tokenizer/tokenizer-tests.factor
extra/peg/pl0/pl0-tests.factor
extra/ping/ping-tests.factor
extra/quadtrees/quadtrees-tests.factor
extra/roles/roles-tests.factor
extra/rosetta-code/y-combinator/y-combinator-tests.factor
extra/rpn/rpn-tests.factor
extra/sequences/inserters/inserters-tests.factor
extra/sequences/n-based/n-based-tests.factor
extra/sequences/squish/squish-tests.factor
extra/slots/macros/macros-tests.factor
extra/smalltalk/compiler/compiler-tests.factor
extra/smalltalk/compiler/lexenv/lexenv-tests.factor
extra/smalltalk/compiler/return/return-tests.factor
extra/smalltalk/eval/eval-tests.factor
extra/smalltalk/parser/parser-tests.factor
extra/smalltalk/printer/printer-tests.factor
extra/sorting/bubble/bubble-tests.factor
extra/sorting/extras/extras-tests.factor
extra/sorting/heap/heap-tests.factor
extra/subrip-subtitles/subrip-subtitles-tests.factor
extra/svg/svg-tests.factor
extra/tetris/game/game-tests.factor
extra/trees/avl/avl-tests.factor
extra/trees/trees-tests.factor
extra/units/imperial/imperial-tests.factor
extra/wordtimer/wordtimer-tests.factor
extra/yaml/yaml-tests.factor
extra/zoneinfo/zoneinfo-tests.factor

index 6c083df8e7398ef6016a1fca682f5b63fd2937c1..a7b8026eb136059d68b4944a8ea3db5a3edb2eaa 100644 (file)
@@ -238,4 +238,3 @@ BE-PACKED-STRUCT: be-packed-struct
     B{ 0 0 0 0 0 0 0  0 0 0 3 } be-packed-struct memory>struct
     b>>
 ] unit-test
-
index 79f4844f4942831ef4a1216f29ab7f7982e6fc87..9fc556d09b7f9c68b0908cebf0585c7df632b427 100644 (file)
@@ -61,7 +61,7 @@ IN: bit-arrays.tests
 [ ?{ } ] [ 0 integer>bit-array ] unit-test
 [ ?{ f t } ] [ 2 integer>bit-array ] unit-test
 [ ?{ t t t t t t t t t } ] [ 511 integer>bit-array ] unit-test
-[ ?{ 
+[ ?{
     t t t t t t t t   t t t t t t t t   t t t t t t t t  t t t t t t t t
     t t t t t t t t   t t t t t t t t   t t t t t t t t  t t t t t t t t
     t t t t t t t t   t t t t t t t t   t t t t t t t t  t t t t t t t t
index 3300faa1255bcb86682c1e247b624f798c927836..41d5063d785fad90db74bba0576047c5052642a3 100644 (file)
@@ -8,13 +8,13 @@ IN: channels.tests
 { V{ 10 } } [
     V{ } clone <channel>
     [ from swap push ] in-thread
-    10 swap to 
+    10 swap to
 ] unit-test
 
 { 20 } [
     <channel>
     [ 20 swap to ] in-thread
-    from 
+    from
 ] unit-test
 
 { { 1 2 3 4 } } [
@@ -23,10 +23,10 @@ IN: channels.tests
     [ from swap push ] in-thread
     [ from swap push ] in-thread
     [ from swap push ] in-thread
-    4 over to 
-    2 over to 
-    1 over to 
-    3 swap to 
+    4 over to
+    2 over to
+    1 over to
+    3 swap to
     natural-sort
 ] unit-test
 
@@ -36,9 +36,9 @@ IN: channels.tests
     [ 2 swap to ] in-thread
     [ 1 swap to ] in-thread
     [ 9 swap to ] in-thread
-    2dup from swap push 
-    2dup from swap push 
-    2dup from swap push 
-    dupd from swap push 
+    2dup from swap push
+    2dup from swap push
+    2dup from swap push
+    dupd from swap push
     natural-sort
 ] unit-test
index 03967c954eeac86ab4d534ff3b3a360ae73d7acb..01dba8a4c125f02d33ed1827e99d091d81424557 100644 (file)
@@ -12,8 +12,7 @@ IN: channels.remote.tests
 { t f } [
     <channel> publish [
         get-channel channel?
-    ] keep 
+    ] keep
     [ unpublish ] keep
     get-channel
 ] unit-test
-
index 8f3a1f042171f63013ad4ddb50cb7fe454a4859c..1b04eb06023ae297db7a3fc0f190fd001d5444e8 100644 (file)
@@ -7,4 +7,3 @@ IN: checksums.fletcher
     "abcde" { fletcher-16 fletcher-32 fletcher-64 }
     [ checksum-bytes ] with map
 ] unit-test
-
index 9a66e5e3168e1b910d1db39da5568064081f4798..0ae836760aa9fc4c7d1d7f37488ca3b4c045d061 100644 (file)
@@ -16,4 +16,3 @@ IN: checksums.interleave.tests
     }
     sha1 interleaved-checksum
 ] unit-test
-
index 249b21104dd2606481c77019bba071b212f638a5..e60703d5f90330eaa65d9bf0e5b9ddc0767d6bb0 100644 (file)
@@ -19,4 +19,3 @@ IN: checksums
     } ;
 
 [ B{ 34 13 } ] [ test-data internet checksum-bytes ] unit-test
-
index 45dc253c86a9032514b4b0791ea2876bf8445810..0540b5cb4596602be5ea6def4592f28520e39008 100644 (file)
@@ -3,7 +3,7 @@
 USING: byte-arrays checksums checksums.md5 io.encodings.binary
 io.streams.byte-array kernel math namespaces tools.test
 sequences ;
-IN: checksums.md5.tests 
+IN: checksums.md5.tests
 
 [ "d41d8cd98f00b204e9800998ecf8427e" ] [ "" >byte-array md5 checksum-bytes hex-string ] unit-test
 [ "0cc175b9c0f1b6a831c399e269772661" ] [ "a" >byte-array md5 checksum-bytes hex-string ] unit-test
index be431af311fb88b7c331b37f02f854b8f7a79df0..14a991c1175447b466c25562278220e8e2497909 100644 (file)
@@ -67,4 +67,3 @@ IN: checksums.sha.tests
     <sha-224-state> "asdf" binary <byte-reader> add-checksum-stream
     [ get-checksum ] [ get-checksum ] bi =
 ] unit-test
-
index c83d4eb8973d9ed4fe2352492108065f5c0e14b6..f91326f3e1ef40e39b39d5d26bcd3d700db4e6aa 100644 (file)
@@ -11,7 +11,7 @@ IN: circular.tests
 [ "test"  ] [ "test" <circular> >string ] unit-test
 
 [ CHAR: e ] [ "test" <circular> 5 swap nth-unsafe ] unit-test
+
 [ [ 1 2 3 ] ] [ { 1 2 3 } <circular> [ ] like ] unit-test
 [ [ 2 3 1 ] ] [ { 1 2 3 } <circular> [ rotate-circular ] keep [ ] like ] unit-test
 [ [ 3 1 2 ] ] [ { 1 2 3 } <circular> [ rotate-circular ] keep [ rotate-circular ] keep [ ] like ] unit-test
index 4ee47adea4a6111451e3caf43c9e87230a91cfbc..686317d0bf6d44fa7eb75f9d0e63d5c109b37ad2 100644 (file)
@@ -40,7 +40,7 @@ STRUCT: struct-test-bar
 [ 1 2 3 t ] [
     1   2 3 t struct-test-foo <struct-boa>   struct-test-bar <struct-boa>
     {
-        [ w>> ] 
+        [ w>> ]
         [ foo>> x>> ]
         [ foo>> y>> ]
         [ foo>> z>> ]
index 08b05a34e7b9929adab99de41c8954393339a0e8..2230cc992a4baa18a968e2d272a19553758368bb 100644 (file)
@@ -3,4 +3,4 @@
 USING: tools.test colors.constants colors ;
 IN: colors.constants.tests
 
-[ t ] [ COLOR: light-green rgba? ] unit-test
\ No newline at end of file
+[ t ] [ COLOR: light-green rgba? ] unit-test
index 3495555062bb90f261cb958b79223c65c0046961..a60922437f6977ac7b84dd2930445e3a28f832af 100644 (file)
@@ -37,4 +37,3 @@ IN: combinators.short-circuit.tests
 
 [ f ] [ row-|| ] unit-test
 [ f ] [ \ row-|| def>> call ] unit-test
-
index 9ebb13163fbfbed7735890ad73733f6b5236bb06..4d647128ebfde85090be19d222c0c74bd2d6ab5e 100644 (file)
@@ -374,7 +374,7 @@ cell-bits 32 = [
         1 + dup 100 fixnum> [ 1 fixnum+ ] when
     ] \ fixnum+ inlined?
 ] unit-test
+
 [ t ] [
     [ [ resize-array ] keep length ] \ length inlined?
 ] unit-test
index 967d5c9a33b4d6d5f22f9b621b70bc51004233fe..3389d20dbb1bf502e3086c6ca8caa18bb50a2d3b 100644 (file)
@@ -33,7 +33,7 @@ IN: compiler.tree.recursive.tests
 
 : loop-test-1 ( a -- )
     dup [ 1 + loop-test-1 ] [ drop ] if ; inline recursive
-                          
+
 [ t ] [
     [ loop-test-1 ] build-tree analyze-recursive
     \ loop-test-1 label-is-loop?
index dcb64dc87808e00859d47bb3d773bf7df26ec6d5..15bfc152afc2d46652d66708eb4c5663df9c27b3 100644 (file)
@@ -1,4 +1,4 @@
-USING: concurrency.combinators tools.test random kernel math 
+USING: concurrency.combinators tools.test random kernel math
 concurrency.mailboxes threads sequences accessors arrays
 math.parser ;
 IN: concurrency.combinators.tests
index c0ae33150e2fd76abb06d60b87647be3e3455aa5..426a930d2059080040bb38549c1894d19a21d494 100644 (file)
@@ -19,7 +19,7 @@ CONSTANT: test-ip "127.0.0.1"
         { [ os windows? ] [ insecure-addr ] }
     } cond ;
 
-    
+
 [ ] [ [ "distributed-concurrency-test" temp-file delete-file ] ignore-errors ] unit-test
 
 test-node-server [
index 69fba8474b6c7a48aadee8fb856de0a8cc8b83d5..df2764c175e3ba7ab69533f8cd76c74b4ef92515 100644 (file)
@@ -6,11 +6,11 @@ IN: concurrency.futures.tests
 ] unit-test
 
 [
-    [ "this should propogate" throw ] future ?future 
+    [ "this should propogate" throw ] future ?future
 ] must-fail
 
 [ ] [
-    [ "this should not propogate" throw ] future drop 
+    [ "this should not propogate" throw ] future drop
 ] unit-test
 
 ! Race condition with futures
index dd94ad15b32dfae78ae7857f661743e13fd4b006..28a2db1e086a658953d7e3cd129f486b2a3307cb 100644 (file)
@@ -8,7 +8,7 @@ IN: concurrency.messaging.tests
 
 [ ] [ my-mailbox data>> clear-deque ] unit-test
 
-[ "received" ] [ 
+[ "received" ] [
     [
         receive "received" swap reply-synchronous
     ] "Synchronous test" spawn
index c96439a848c625d45b9a7ec2deb50201ffc13a4f..b766ad6b95cc7ddd125d63725a2131a8d1cf53ce 100644 (file)
@@ -4,4 +4,4 @@ USING: tools.test core-foundation.attributed-strings
 core-foundation ;
 IN: core-foundation.attributed-strings.tests
 
-[ ] [ "Hello world" H{ } <CFAttributedString> CFRelease ] unit-test
\ No newline at end of file
+[ ] [ "Hello world" H{ } <CFAttributedString> CFRelease ] unit-test
index 61ca1317888f96bb1ffe002274b78ca59195d7ef..f967e45d9cf5c33655859ffe6c7d94656124e9b9 100644 (file)
@@ -15,4 +15,4 @@ IN: core-foundation.dictionaries.tests
         CFDictionaryGetValue
         dup [ CF>string ] when
     ] with-destructors
-] unit-test
\ No newline at end of file
+] unit-test
index 1de46235949f85bc32ce4b726c8b2ffa21fcc77c..743666a76513d80c908a8c522cbb218d2386bb5a 100644 (file)
@@ -12,4 +12,4 @@ IN: core-foundation
 [ "\0" ] [ "\0" <CFString> [ CF>string ] [ CFRelease ] bi ] unit-test
 
 ! This shouldn't fail
-[ ] [ { 0x123456 } >string <CFString> CFRelease ] unit-test
\ No newline at end of file
+[ ] [ { 0x123456 } >string <CFString> CFRelease ] unit-test
index b032a7763a869f606890ea059cb93f8e244dae32..8d604f8d0521265aa3b3c81e56a9c201e05bff00 100644 (file)
@@ -5,4 +5,4 @@ IN: core-graphics.tests
 
 [ t ] [ { 100 200 } [ drop ] make-bitmap-image image? ] unit-test
 
-[ ] [ dummy-context drop ] unit-test
\ No newline at end of file
+[ ] [ dummy-context drop ] unit-test
index f6668031e51114b29db2e8dbf4ad7302d7ced0b8..e9be320ca9628a6a022d369b6b153e935adbb0f5 100644 (file)
@@ -22,7 +22,7 @@ IN: db.errors.postgresql.tests
     ] [
         { [ sql-table-exists? ] [ table>> "ship" = ] } 1&&
     ] must-fail-with
-    
+
     [
         "create table foo(id) lol;" sql-command
     ] [
index 68ae55f8a84203d5d73262ffaeae3b3f3fc25c11..8d10b8189e8f66d6803d7d0c5e3e929e4bbcd9c5 100644 (file)
@@ -15,7 +15,7 @@ sqlite-error-test-db-path <sqlite-db> [
     ] [
         { [ sql-table-missing? ] [ table>> "foo" = ] } 1&&
     ] must-fail-with
-    
+
     [
         "create table foo(id);" sql-command
         "create table foo(id);" sql-command
@@ -23,4 +23,4 @@ sqlite-error-test-db-path <sqlite-db> [
         { [ sql-table-exists? ] [ table>> "foo" = ] } 1&&
     ] must-fail-with
 
-] with-db
\ No newline at end of file
+] with-db
index b389847fc946c0edfd454a9c62f3af4b6982218c..bb2eb267aeae44345cf56b7528554a585c002e54 100644 (file)
@@ -145,7 +145,7 @@ watch "WATCH" {
     { "show" "SHOW" BIG-INTEGER +not-null+ +user-assigned-id+
         { +foreign-id+ show "ID" } }
 } define-persistent
-    
+
 [ T{ user { username "littledan" } { data "foo" } } ] [
     test.db [
         user create-table
index 90131068d2e375be83418d56fa567f7cf1104899..4a04e0c32cfb5ece5aaddd6505fe9959e7aa0c41 100644 (file)
@@ -40,7 +40,7 @@ SYMBOL: person4
     [ ] [ person create-table ] unit-test
     [ person create-table ] must-fail
     [ ] [ person ensure-table ] unit-test
-    
+
     [ ] [ person1 get insert-tuple ] unit-test
 
     [ 1 ] [ person1 get the-id>> ] unit-test
@@ -307,7 +307,7 @@ TUPLE: serialize-me id data ;
         { T{ serialize-me f 1 H{ { 1 2 } } } }
     ] [ T{ serialize-me f 1 } select-tuples ] unit-test ;
 
-TUPLE: exam id name score ; 
+TUPLE: exam id name score ;
 
 : random-exam ( -- exam )
         f
@@ -433,7 +433,7 @@ TUPLE: exam id name score ;
     ] [
         T{ exam f T{ interval f { -1/0. t } { 1/0. f } } } select-tuples
     ] unit-test
-    
+
     [
         {
             T{ exam f 1 "Kyle" 100 }
@@ -552,18 +552,18 @@ fubbclass "FUBCLASS" { } define-persistent
 : test-db-inheritance ( -- )
     [ ] [ subbclass ensure-table ] unit-test
     [ ] [ fubbclass ensure-table ] unit-test
-    
+
     [ ] [
         subbclass new 5 >>a "hi" >>b dup insert-tuple id>> "id" set
     ] unit-test
-    
+
     [ t "hi" 5 ] [
         subbclass new "id" get >>id select-tuple
         [ subbclass? ] [ b>> ] [ a>> ] tri
     ] unit-test
-    
+
     [ ] [ fubbclass new 0 >>a "hi" >>b insert-tuple ] unit-test
-    
+
     [ t ] [ fubbclass new select-tuples [ fubbclass? ] all? ] unit-test ;
 
 [ test-db-inheritance ] test-sqlite
@@ -585,7 +585,7 @@ string-encoding-test "STRING_ENCODING_TEST" {
             "\u{copyright-sign}\u{bengali-letter-cha}" >>string
         [ insert-tuple ] [ id>> "id" set ] bi
     ] unit-test
-    
+
     [ "\u{copyright-sign}\u{bengali-letter-cha}" ] [
         string-encoding-test new "id" get >>id select-tuple string>>
     ] unit-test ;
@@ -605,7 +605,7 @@ string-encoding-test "STRING_ENCODING_TEST" {
 
 TUPLE: compound-foo a b c ;
 
-compound-foo "COMPOUND_FOO" 
+compound-foo "COMPOUND_FOO"
 {
     { "a" "A" INTEGER +user-assigned-id+ }
     { "b" "B" INTEGER +user-assigned-id+ }
index 45044ef98f8064188aea787747dc2328ed3c9889..28fbabf66fcff4cd95760827d35f7b0c366e7664 100644 (file)
@@ -180,7 +180,7 @@ TUPLE: slot-protocol-test-3 x y ;"
 ] unit-test
 
 DEFER: seq-delegate
-    
+
 ! See if removing a consultation updates protocol-consult word prop
 [ [ ] ] [
     "IN: delegate.tests
index 7ef62bfb77eefcb955cbc304513d98c51db21dfc..716c80db68f813dc5733a73a4738fb22913a3fe9 100644 (file)
@@ -140,9 +140,9 @@ link-no-follow? off
 [ "<hr/>" ] [ "___" convert-farkup ] unit-test
 [ "<hr/>" ] [ "___\n" convert-farkup ] unit-test
 
-[ "<p>before:</p><pre><span class=\"OPERATOR\">{</span> <span class=\"DIGIT\">1</span> <span class=\"DIGIT\">2</span> <span class=\"DIGIT\">3</span> <span class=\"OPERATOR\">}</span> <span class=\"DIGIT\">1</span> tail</pre>" ] 
+[ "<p>before:</p><pre><span class=\"OPERATOR\">{</span> <span class=\"DIGIT\">1</span> <span class=\"DIGIT\">2</span> <span class=\"DIGIT\">3</span> <span class=\"OPERATOR\">}</span> <span class=\"DIGIT\">1</span> tail</pre>" ]
 [ "before:\n[factor{{ 1 2 3 } 1 tail}]" convert-farkup ] unit-test
+
 [ "<p><a href=\"Factor\">Factor</a>-rific!</p>" ]
 [ "[[Factor]]-rific!" convert-farkup ] unit-test
 
index 49ffc25e0ab8d007807679dc5a4e197432790754..56b21097e0cf23dc3cf3a2b1b6384240182fe86d 100644 (file)
@@ -34,7 +34,7 @@ CONSTANT: test-file-contents "Files are so boring anymore."
 ] unit-test
 
 [
-    
+
     [
         "/" >>path
         [
index db06317ae71cbbeba17e0b41d45bc84c1a5451fd..df6ef434b9b1c1fa8862d0664c31db7b0d0bb849 100644 (file)
@@ -177,35 +177,35 @@ STRUCT: T-class
             { name "nemo" }
             { offset 0 }
             { class integer }
-            { initial 0 } 
+            { initial 0 }
             { type c:longlong }
         }
         T{ struct-slot-spec
             { name "x" }
             { offset 8 }
             { class object }
-            { initial f } 
+            { initial f }
             { type { c:char 4 } }
         }
         T{ struct-slot-spec
             { name "y" }
             { offset 12 }
             { class object }
-            { initial f } 
+            { initial f }
             { type { c:short 2 } }
         }
         T{ struct-slot-spec
             { name "z" }
             { offset 16 }
             { class fixnum }
-            { initial 5 } 
+            { initial 5 }
             { type c:char }
         }
         T{ struct-slot-spec
             { name "float" }
             { offset 20 }
             { class object }
-            { initial f } 
+            { initial f }
             { type { c:float 2 } }
         }
     }
index e9e4c0816c2e8a7c6d6213a13056b37dcf603c53..7ff5b2c3938e526e8c44a024b97d1118c0a49503 100644 (file)
@@ -1,4 +1,4 @@
-USING: furnace.actions furnace.auth furnace.auth.providers 
+USING: furnace.actions furnace.auth furnace.auth.providers
 furnace.auth.providers.assoc furnace.auth.login
 tools.test namespaces accessors kernel ;
 IN: furnace.auth.providers.assoc.tests
index b2432754b16a322b776bd6b72b57f13e8642171d..1abc074438b384f6890c1ce4ea1e6ae442a11bc1 100755 (executable)
@@ -33,8 +33,8 @@ IN: globs.tests
 { "foo" "bar" } path-separator join 1array
 [ { "foo" "bar" "ba?" } path-separator join glob-parent-directory ] unit-test
 
-[ "foo" ] 
+[ "foo" ]
 [ { "foo" "b?r" "bas" } path-separator join glob-parent-directory ] unit-test
 
-[ "" ] 
+[ "" ]
 [ { "f*" "bar" "bas" } path-separator join glob-parent-directory ] unit-test
index 90b0e93b7cdbd156ecf2bfa4320c7773b772b57f..992c5f28f2c767aa84512477b839c9014aaff494 100644 (file)
@@ -14,7 +14,7 @@ H{
 } "g" set
 
 [ { 2 3 4 5 } ] [
-    2 [ "g" get at ] closure keys natural-sort 
+    2 [ "g" get at ] closure keys natural-sort
 ] unit-test
 
 H{ } "g" set
index 18284d178a0a531bd0b99e17ae7f6d8a77155d46..82703a0d20e469c49f4d5d0ee31527c17f71ff14 100644 (file)
@@ -18,4 +18,3 @@ IN: hash-sets.sequences.tests
 ] unit-test
 
 [ { "asdf" } ] [ SHS{ "asdf" } members ] unit-test
-
index 47a4d639dd5b5fe894071183535d69ed7a526ec5..f846378ddbcc730edc46749ef9d156a284d7c5dc 100644 (file)
@@ -19,4 +19,3 @@ IN: hashtables.sequences.tests
 ] unit-test
 
 [ { { "asdf" 1000 } } ] [ SH{ { "asdf" 1000 } } >alist ] unit-test
-
index cc278a162a53c80380e419246e93516929666abd..e97db1af85fa221d64146d17be85260d40aa2bd1 100644 (file)
@@ -7,11 +7,11 @@ IN: help.syntax.tests
         "IN: help.syntax.tests USE: help.syntax ABOUT: \"foobar\"" eval( -- )
         "help.syntax.tests" lookup-vocab vocab-help
     ] unit-test
-    
+
     [ { "foobar" } ] [
         "IN: help.syntax.tests USE: help.syntax ABOUT: { \"foobar\" }" eval( -- )
         "help.syntax.tests" lookup-vocab vocab-help
     ] unit-test
-    
+
     [ ] [ "help.syntax.tests" lookup-vocab f >>help drop ] unit-test
 ] with-file-vocabs
index 847ec2d8c86f39acc366f37adbd67c0ebde6da7d..2870619ce93031f397b172f11045ce2d15f5614c 100644 (file)
@@ -207,4 +207,3 @@ M: link-test link-href drop "http://www.apple.com/foo&bar" ;
         "xmltest" html render
     ] with-string-writer
 ] unit-test
-
index d502de75b0e6d9779c9fee15d24af513cf0db190..5ced348603d181f975739593eda38b7788ecc768 100644 (file)
@@ -13,38 +13,38 @@ IN: http.server.redirection.tests
         >>url
     request set
 
-    [ "http://www.apple.com/xxx/bar" ] [ 
-        <url> relative-to-request present 
+    [ "http://www.apple.com/xxx/bar" ] [
+        <url> relative-to-request present
     ] unit-test
 
     [ "http://www.apple.com/xxx/baz" ] [
         <url> "baz" >>path relative-to-request present
     ] unit-test
-    
+
     [ "http://www.apple.com/xxx/baz?c=d" ] [
         <url> "baz" >>path { { "c" "d" } } >>query relative-to-request present
     ] unit-test
-    
+
     [ "http://www.apple.com/xxx/bar?c=d" ] [
         <url> { { "c" "d" } } >>query relative-to-request present
     ] unit-test
-    
+
     [ "http://www.apple.com/flip" ] [
         <url> "/flip" >>path relative-to-request present
     ] unit-test
-    
+
     [ "http://www.apple.com/flip?c=d" ] [
         <url> "/flip" >>path { { "c" "d" } } >>query relative-to-request present
     ] unit-test
-    
+
     [ "http://www.jedit.org/" ] [
         "http://www.jedit.org" >url relative-to-request present
     ] unit-test
-    
+
     [ "http://www.jedit.org/?a=b" ] [
         "http://www.jedit.org" >url { { "a" "b" } } >>query relative-to-request present
     ] unit-test
-    
+
     [ "http://www.jedit.org:1234/?a=b" ] [
         "http://www.jedit.org:1234" >url { { "a" "b" } } >>query relative-to-request present
     ] unit-test
index 3a053c3a9c4dced3a36261a312313be2a918b08e..410ab7ca3e55a7cac45180808be56f26ed8ac999 100644 (file)
@@ -45,4 +45,4 @@ H{ } clone params set
 [ { { } "erg" } ] [
     URL" http://erg.blogs.vegan.net" url set
     { } "rewrite" get call-responder
-] unit-test
\ No newline at end of file
+] unit-test
index 3dd270f2c2f6985cf7c59dcae42ce410f1d002fb..778df760268e6573b6a8ec5eb2f18e650bc30021 100644 (file)
@@ -120,4 +120,3 @@ IN: images.normalization.tests
     T{ image f { 1 1 } RGB ubyte-components f B{ 0 0 0 } }
     INTENSITY reorder-components
 ] must-fail
-
index 9729b4554bcb230333dac9fb687cdf4b7ddc95d4..029490a178bbb05507105eeed5cb63a4dfb8c404 100644 (file)
@@ -196,4 +196,4 @@ IN: io.directories.tests
 { } [
     "foo" temp-file [ make-directories ] keep
     [ "touch bar" try-output-process ] with-directory
-] unit-test
\ No newline at end of file
+] unit-test
index 3598bdcc925aa56d73fad865eb3633c2127f927b..bacc43f0a7f119c231a46c138b5dddb94d0d066d 100644 (file)
@@ -33,4 +33,3 @@ IN: io.encodings.johab.tests
 
 [ t ] [ phrase-johab>unicode phrase-unicode = ] unit-test
 [ t ] [ phrase-unicode>johab phrase-johab = ] unit-test
-
index dbfff7befd01da166187402cd3c5b9aed3c3538a..ba12995dda5b8359d4632088460f1e159a3309a5 100644 (file)
@@ -27,4 +27,3 @@ IN: io.encodings.utf32.tests
 [ { CHAR: x } ] [ B{ 0 0 0xfe 0xff 0 0 0 CHAR: x } utf32 decode >array ] unit-test
 
 [ B{ 0xff 0xfe 0 0 120 0 0 0 0x1e 0xd1 1 0 } ] [ { CHAR: x 0x1d11e } >string utf32 encode ] unit-test
-
index 1717b1a225a2b390d165074cbda5a1e09cb04a06..d32637c8daee70134281d72e1744118d8a35c4f6 100644 (file)
@@ -152,7 +152,7 @@ IN: io.launcher.unix.tests
 
 ! Killed processes were exiting with code 0 on FreeBSD
 [ f ] [
-    [let 
+    [let
         <promise> :> p
         <promise> :> s
 
index b303feee80416479bcfb940925a622499312a6e2..66026173690a008883cd731d29bc72777de70e34 100644 (file)
@@ -61,7 +61,7 @@ IN: io.pipes.tests
                     "count-down" get count-down
                 ] in-thread
             ] bi@
-            
+
             ! Give the threads enough time to start blocking on
             ! read
             1 seconds sleep
index e081b655d3891011e18437b5dfa19ba6b16ae18d..9e90ea6e4cacbe305b6a4627fb2cda59da0860a8 100644 (file)
@@ -25,7 +25,7 @@ IN: io.servers
 [ 10 ] [
     ascii <threaded-server>
         10 >>max-connections
-    init-server semaphore>> count>> 
+    init-server semaphore>> count>>
 ] unit-test
 
 [ "Hello world." ] [
index e6759109b9bf833906a1e777729a63297059ca1d..41ff568d7c862e8fb3d1deb3314427c8cfca0e68 100644 (file)
@@ -66,7 +66,7 @@ io.sockets.secure.debug ;
 [ ] [
     [
         [
-            "127.0.0.1" 0 <inet4> ascii <server> &dispose 
+            "127.0.0.1" 0 <inet4> ascii <server> &dispose
                 dup addr>> port>> "port" get fulfill
                 accept drop &dispose 1 minutes sleep
         ] with-destructors
@@ -109,7 +109,7 @@ io.sockets.secure.debug ;
 ! Until I sort out two-stage handshaking, I can't do much here
 [
     [ ] [ <promise> "port" set ] unit-test
-    
+
     [ ] [
         [
             [
@@ -122,7 +122,7 @@ io.sockets.secure.debug ;
             ] with-destructors
         ] "Silly server" spawn drop
     ] unit-test
-    
+
     [
         1 seconds secure-socket-timeout [
             <secure-config> [
@@ -131,10 +131,10 @@ io.sockets.secure.debug ;
             ] with-secure-context
         ] with-variable
     ] [ io-timeout? ] must-fail-with
-    
+
     ! Server socket shutdown timeout
     [ ] [ <promise> "port" set ] unit-test
-    
+
     [ ] [
         [
             [
@@ -145,7 +145,7 @@ io.sockets.secure.debug ;
             ] with-destructors
         ] "Silly client" spawn drop
     ] unit-test
-    
+
     [
         [
             1 seconds secure-socket-timeout [
index 25022474b1738694a337f1d029ca41848a5b1737..ef40d220b1a28c30b9251e63172a1f14187c29b1 100644 (file)
@@ -5,5 +5,3 @@ IN: io.standard-paths.macosx.tests
 
 [ "/System/Library/CoreServices/Finder.app" ]
 [ "com.apple.finder" find-native-bundle ] unit-test
-
-
index 758c79cd25a37fb06f96c5dc7a547ad67970649a..a0199e35048c1d13c983e0910644bf2910922fac 100644 (file)
@@ -35,7 +35,7 @@ IN: json.reader.tests
 { "𝄞" } [ "\"\\ud834\\udd1e\"" json> ] unit-test
 
 { H{ { "a" { } } { "b" 123 } } } [ "{\"a\":[],\"b\":123}" json> ] unit-test
-{ { } } [ "[]" json> ] unit-test 
+{ { } } [ "[]" json> ] unit-test
 { { 1 "two" 3.0 } } [ """ [1, "two", 3.0] """ json> ] unit-test
 { H{ } } [ "{}" json> ] unit-test
 
index e824005d5386fc165ee2780d7d93882f3a9f877f..d0724d765f86e22db4eb6cb512fe44af91a41bf9 100644 (file)
@@ -74,4 +74,3 @@ TUPLE: person first-name age ;
 
 { "\"\\ud800\\udc01\"" }
 [ t json-escape-unicode? [ "𐀁" >json ] with-variable ] unit-test
-
index cb39253f6a4dc5936416f33f35638579b07d4695..e4b291ce238842ac56be1c800f7dd87a4ef85505 100644 (file)
@@ -24,14 +24,14 @@ IN: linked-assocs.test
                   3 "a" pick set-at
                   4 "d" pick set-at
     [ values ] [ keys ] [ assoc-size ] tri
-] unit-test 
+] unit-test
 
 { f 1 } [
     <linked-hash> 1 "c" pick set-at
                   2 "b" pick set-at
     "c" over delete-at
     "c" over at swap assoc-size
-] unit-test 
+] unit-test
 
 { { } 0 } [
     <linked-hash> 1 "a" pick set-at
index 476b1a3343ca373dfb26f882c48b726aff09a506..1b85a65713d91de8d0f233768f7cea731e74ba01 100644 (file)
@@ -61,7 +61,7 @@ SYNTAX: hello "Hi" print ;
         "call" "scratchpad" lookup-word
         [ "call" search ] with-interactive-vocabs
         eq?
-    ] unit-test 
+    ] unit-test
 ] with-file-vocabs
 
 [ "call" "scratchpad" lookup-word forget ] with-compilation-unit
index a39bc658ea3f6377cfa1901e56e883a7f66624c3..a4f308725eb401f8e728ea42b67c3abfe417ed2a 100644 (file)
@@ -389,7 +389,7 @@ M:: integer lambda-method-forget-test ( a -- b ) a ;
     "USING: locals fry math ; 1 '[ [let 10 :> A A _ + ] ]"
     eval( -- ) call
 ] [ error>> >r/r>-in-fry-error? ] must-fail-with
-    
+
 :: (funny-macro-test) ( obj quot -- ? ) obj { [ quot call ] } 1&& ; inline
 : funny-macro-test ( n -- ? ) [ odd? ] (funny-macro-test) ;
 
@@ -470,13 +470,13 @@ M:: integer lambda-method-forget-test ( a -- b ) a ;
 :: erg's-:>-bug ( n ? -- n ) ? [ n :> n n ] [ n :> b b ] if ;
 
 [ 3 ] [ 3 f erg's-:>-bug ] unit-test
-    
+
 [ 3 ] [ 3 t erg's-:>-bug ] unit-test
 
 :: erg's-:>-bug-2 ( n ? -- n ) ? n '[ _ :> n n ] [ n :> b b ] if ;
 
 [ 3 ] [ 3 f erg's-:>-bug-2 ] unit-test
-    
+
 [ 3 ] [ 3 t erg's-:>-bug-2 ] unit-test
 
 ! dharmatech found this problem
index 6a4574eac3303114234c991da8e57f47ba716de9..710b1e5ac69911b13375575ecb8a632e5775e59c 100644 (file)
@@ -46,4 +46,3 @@ STRUCT: halves
 
 [ half-array{ 1.0 2.0 3.0 1/0. -1/0. } ]
 [ { 1.0 2.0 3.0 1/0. -1/0. } half >c-array ] unit-test
-
index e7a1124d0db725905bcdde96e4de962b15565819..6346253158b0922a0c3ad881a8f91d3bc2994685 100644 (file)
@@ -195,7 +195,7 @@ IN: math.matrices.tests
     { { 1 }
        { 2 }
        { 3 } }
-    
+
     m.
 ] unit-test
 
index c1efc502db58569ea03893eec796103f659150e0..1996ec2659339965d544bfcffcf1cfbf1efa61b5 100644 (file)
@@ -21,4 +21,3 @@ math.ranges sequences tools.test ;
 { t } [
     { 4 6 8 9 10 12 } 100 sieve '[ _ marked-prime? not ] all?
 ] unit-test
-
index 55ed7147d85b5420d1752e0c57c364f1223a588b..f48f7757ba0057122f0d60df5a2bf3ec99885740 100644 (file)
@@ -57,4 +57,4 @@ IN: math.rectangles.positioning.tests
     { 10 10 }
     { 100 100 }
     popup-rect
-] unit-test
\ No newline at end of file
+] unit-test
index c9ff2cb10257d502c44cd10f34890dce7cc30e5a..78f71cef3ca1e5c155b8fb7d9888ce4d22f6087d 100644 (file)
@@ -128,4 +128,3 @@ MACRO:: test-vconvert ( from-type to-type -- )
     longlong-2 ushort-8 test-vconvert
 ]
 [ error>> bad-vconvert? ] must-fail-with
-
index e73bc9c28fa57ba43a588b15df2d210abd886e78..72797660c933428286f060a3c64ae4b6f04d66ca 100644 (file)
@@ -495,7 +495,7 @@ simd-classes [
         class random-int-vector :> src
         char-16 random-shift-vector :> perm
         { class char-16 } :> decl
-    
+
         src perm vshuffle
         src perm [ decl declare vshuffle ] compile-call
         =
@@ -534,7 +534,7 @@ TUPLE: inconsistent-vector-test bool branch ;
     [
         vector decl test-vector-tests-bool :> ( bool-none bool-any bool-all )
         vector decl test-vector-tests-branch :> ( branch-none branch-any branch-all )
-        
+
         bool-none branch-none ?inconsistent
         bool-any  branch-any  ?inconsistent
         bool-all  branch-all  ?inconsistent
@@ -693,7 +693,7 @@ STRUCT: simd-struct
 
    theta cos float-4-with :> cc
    theta sin float-4-with :> ss
-   
+
    axis cc v+ :> diagonal
 
    diagonal cc ss ; inline
@@ -707,14 +707,14 @@ STRUCT: simd-struct
 ! stack was aligned properly by the runtime
 
 : simd-spill-test-1 ( a b c -- v )
-    { float-4 float-4 float } declare 
+    { float-4 float-4 float } declare
     [ v+ ] dip sin v*n ;
 
 [ float-4{ 0 0 0 0 } ]
 [ float-4{ 1 2 3 4 } float-4{ 4 5 6 7 } 0.0 simd-spill-test-1 ] unit-test
 
 : simd-spill-test-2 ( a b d c -- v )
-    { float float-4 float-4 float } declare 
+    { float float-4 float-4 float } declare
     [ [ 3.0 + ] 2dip v+ ] dip sin v*n n*v ;
 
 [ float-4{ 0 0 0 0 } ]
index e9f8c703679929702b52ea0c34b24c5661597aee..a0e3f5fc5ef8e87870a809d9d5d5cbd0bf297121 100644 (file)
@@ -22,7 +22,7 @@ SPECIALIZED-ARRAY: int
 [ { 2.5  1.0  } ] [ { 1.0 2.5 } { 2.5 1.0 } 1.0 vnlerp ] unit-test
 [ { 1.75 1.75 } ] [ { 1.0 2.5 } { 2.5 1.0 } 0.5 vnlerp ] unit-test
 
-[ { 1.75 2.125 } ] [ { 1.0 2.5 } { 2.5 1.0 } { 0.5 0.25 } vlerp ] unit-test 
+[ { 1.75 2.125 } ] [ { 1.0 2.5 } { 2.5 1.0 } { 0.5 0.25 } vlerp ] unit-test
 
 [ 1.125 ] [ 0.0 1.0 2.0 4.0 { 0.5 0.25 } bilerp ] unit-test
 
index 3e8375e512f7781ba89df3f4108af04c0ddcf49c..7f8ba7cd0e7facc8e5270bbaf5c882e21a755291 100644 (file)
@@ -1,4 +1,4 @@
 IN: models.arrows.smart.tests
 USING: models.arrow.smart tools.test accessors models math kernel ;
 
-[ 7 ] [ 3 <model> 4 <model> [ + ] <smart-arrow> [ activate-model ] [ value>> ] bi ] unit-test
\ No newline at end of file
+[ 7 ] [ 3 <model> 4 <model> [ + ] <smart-arrow> [ activate-model ] [ value>> ] bi ] unit-test
index 710ff4e086b157c8247c035827058bd245d6d0f1..1fb65893d47620f2cd598a704e3b254f34f7de14 100644 (file)
@@ -18,7 +18,7 @@ IN: models.mapping.tests
 ] unit-test
 
 [ ] [
-    H{ { "one" 3 } { "two" 4 } } 
+    H{ { "one" 3 } { "two" 4 } }
     "m" get set-model
 ] unit-test
 
index f1064dc38359bf971103982d4e76512060b15c8b..79abfe5a6b2c331523f2eb98399d3c0682a3064e 100644 (file)
@@ -43,4 +43,3 @@ T{ model-tester f f } "tester" set
     T{ model-tester f f } clone V{ 5 } clone <model> 2dup add-connection
     [ pop-model ] [ value>> ] bi
 ] unit-test
-
index 29ee20235099b2dfc3b2d8e83da279636c45aaaa..d5c3afa17906df9f532380bd402f122993959ef6 100644 (file)
@@ -33,12 +33,12 @@ M: an-observer model-changed nip [ 1 + ] change-i drop ;
         { m1 m2 } <product> :> c
         an-observer new :> o1
         an-observer new :> o2
-        
+
         o1 m1 add-connection
         o2 m2 add-connection
 
         c activate-model
-    
+
         "OH HAI" m1 set-model
         o1 i>>
         o2 i>>
index 16a6b8f9bde99a3807f7d39f6accf0b486ff6b28..24cad68f02f4d8481de614581eb05ecccd44f6d9 100644 (file)
@@ -34,7 +34,7 @@ tools.test models.range ;
 [ 0 ] [ setup-range 30 over move-by -30 over move-by range-value ] unit-test
 
 ! should be able to move by a page of 10
-[ 10 ] [ 
-    setup-range 10 over set-range-page-value 
-    1 over move-by-page range-value 
+[ 10 ] [
+    setup-range 10 over set-range-page-value
+    1 over move-by-page range-value
 ] unit-test
index 3a4e3dd62ee6039a0fa4d172b6db5979ff8932f5..90f8fd7df4a28d2c1ef53b95c50dd5b2a156b057 100644 (file)
@@ -43,7 +43,7 @@ END
 ] unit-test
 
 [ "xyz \n" ] [ HEREDOC: END
-xyz 
+xyz
 END
 ] unit-test
 
index acdc55a52ee5e44b343a2ef23f32016b6e06b573..7215b9443d90f4494010800d1bd9a5deee907892 100644 (file)
@@ -7,51 +7,51 @@ namespaces arrays strings eval unicode.data multiline ;
 IN: peg.ebnf.tests
 
 { T{ ebnf-non-terminal f "abc" } } [
-  "abc" 'non-terminal' parse 
+  "abc" 'non-terminal' parse
 ] unit-test
 
 { T{ ebnf-terminal f "55" } } [
-  "'55'" 'terminal' parse 
+  "'55'" 'terminal' parse
 ] unit-test
 
 {
-  T{ ebnf-rule f 
+  T{ ebnf-rule f
      "digit"
      T{ ebnf-choice f
         V{ T{ ebnf-terminal f "1" } T{ ebnf-terminal f "2" } }
      }
-  } 
+  }
 } [
   "digit = '1' | '2'" 'rule' parse
 ] unit-test
 
 {
-  T{ ebnf-rule f 
-     "digit" 
+  T{ ebnf-rule f
+     "digit"
      T{ ebnf-sequence f
         V{ T{ ebnf-terminal f "1" } T{ ebnf-terminal f "2" } }
      }
-  }   
+  }
 } [
   "digit = '1' '2'" 'rule' parse
 ] unit-test
 
 {
   T{ ebnf-choice f
-     V{ 
+     V{
        T{ ebnf-sequence f
           V{ T{ ebnf-non-terminal f "one" } T{ ebnf-non-terminal f "two" } }
        }
        T{ ebnf-non-terminal f "three" }
      }
-  } 
+  }
 } [
   "one two | three" 'choice' parse
 ] unit-test
 
 {
   T{ ebnf-sequence f
-     V{ 
+     V{
        T{ ebnf-non-terminal f "one" }
        T{ ebnf-whitespace f
          T{ ebnf-choice f
@@ -59,14 +59,14 @@ IN: peg.ebnf.tests
          }
        }
      }
-  } 
+  }
 } [
   "one {two | three}" 'choice' parse
 ] unit-test
 
 {
   T{ ebnf-sequence f
-     V{ 
+     V{
        T{ ebnf-non-terminal f "one" }
        T{ ebnf-repeat0 f
           T{ ebnf-sequence f
@@ -79,14 +79,14 @@ IN: peg.ebnf.tests
           }
         }
      }
-  } 
+  }
 } [
   "one ((two | three) four)*" 'choice' parse
 ] unit-test
 
 {
   T{ ebnf-sequence f
-     V{ 
+     V{
        T{ ebnf-non-terminal f "one" }
        T{ ebnf-ignore f
           T{ ebnf-sequence f
@@ -99,19 +99,19 @@ IN: peg.ebnf.tests
           }
         }
      }
-  } 
+  }
 } [
   "one ((two | three) four)~" 'choice' parse
 ] unit-test
 
 {
   T{ ebnf-sequence f
-     V{ 
-         T{ ebnf-non-terminal f "one" } 
+     V{
+         T{ ebnf-non-terminal f "one" }
          T{ ebnf-optional f T{ ebnf-non-terminal f "two" } }
          T{ ebnf-non-terminal f "three" }
      }
-  } 
+  }
 } [
   "one ( two )? three" 'choice' parse
 ] unit-test
@@ -133,7 +133,7 @@ IN: peg.ebnf.tests
 ] unit-test
 
 { V{ "a" "b" } } [
-  "ab" [EBNF foo='a' 'b' EBNF] 
+  "ab" [EBNF foo='a' 'b' EBNF]
 ] unit-test
 
 { V{ 1 "b" } } [
@@ -153,7 +153,7 @@ IN: peg.ebnf.tests
 ] unit-test
 
 [
-  "0" [EBNF foo=[A-Z] EBNF]  
+  "0" [EBNF foo=[A-Z] EBNF]
 ] must-fail
 
 { CHAR: 0 } [
@@ -161,11 +161,11 @@ IN: peg.ebnf.tests
 ] unit-test
 
 [
-  "A" [EBNF foo=[^A-Z] EBNF]  
+  "A" [EBNF foo=[^A-Z] EBNF]
 ] must-fail
 
 [
-  "Z" [EBNF foo=[^A-Z] EBNF]  
+  "Z" [EBNF foo=[^A-Z] EBNF]
 ] must-fail
 
 { V{ "1" "+" "foo" } } [
@@ -197,7 +197,7 @@ IN: peg.ebnf.tests
 ] unit-test
 
 [
-  { "a" 2 3 4 } [EBNF num=. ?[ number? ]? list=list:x num:y => [[ x y + ]] | num EBNF] 
+  { "a" 2 3 4 } [EBNF num=. ?[ number? ]? list=list:x num:y => [[ x y + ]] | num EBNF]
 ] must-fail
 
 { 3 } [
@@ -205,7 +205,7 @@ IN: peg.ebnf.tests
 ] unit-test
 
 [
-  "ab" [EBNF -=" " | "\t" | "\n" foo="a" - "b" EBNF] 
+  "ab" [EBNF -=" " | "\t" | "\n" foo="a" - "b" EBNF]
 ] must-fail
 
 { V{ "a" " " "b" } } [
@@ -250,22 +250,22 @@ IN: peg.ebnf.tests
 ] unit-test
 
 [
-  "axb" [EBNF -=(" " | "\t" | "\n")? => [[ drop ignore ]] foo="a" - "b" EBNF] 
+  "axb" [EBNF -=(" " | "\t" | "\n")? => [[ drop ignore ]] foo="a" - "b" EBNF]
 ] must-fail
 
-{ V{ V{ 49 } "+" V{ 49 } } } [ 
+{ V{ V{ 49 } "+" V{ 49 } } } [
   #! Test direct left recursion. 
   #! Using packrat, so first part of expr fails, causing 2nd choice to be used  
   "1+1" [EBNF num=([0-9])+ expr=expr "+" num | num EBNF]
 ] unit-test
 
-{ V{ V{ V{ 49 } "+" V{ 49 } } "+" V{ 49 } } } [ 
+{ V{ V{ V{ 49 } "+" V{ 49 } } "+" V{ 49 } } } [
   #! Test direct left recursion. 
   #! Using packrat, so first part of expr fails, causing 2nd choice to be used  
   "1+1+1" [EBNF num=([0-9])+ expr=expr "+" num | num EBNF]
 ] unit-test
 
-{ V{ V{ V{ 49 } "+" V{ 49 } } "+" V{ 49 } } } [ 
+{ V{ V{ V{ 49 } "+" V{ 49 } } "+" V{ 49 } } } [
   #! Test indirect left recursion. 
   #! Using packrat, so first part of expr fails, causing 2nd choice to be used  
   "1+1+1" [EBNF num=([0-9])+ x=expr expr=x "+" num | num EBNF]
@@ -298,7 +298,7 @@ MethodName = "m" | "n"
 ExpressionName = Identifier
 Expression = "i" | "j"
 main = Primary
-;EBNF 
+;EBNF
 
 { "this" } [
   "this" primary
@@ -353,11 +353,11 @@ main = Primary
 ] unit-test
 
 [
-  "a bc" [EBNF a="a" "b" foo=(a "c") EBNF] 
+  "a bc" [EBNF a="a" "b" foo=(a "c") EBNF]
 ] must-fail
 
 [
-  "a bc" [EBNF a="a" "b" foo=a "c" EBNF] 
+  "a bc" [EBNF a="a" "b" foo=a "c" EBNF]
 ] must-fail
 
 [
@@ -365,7 +365,7 @@ main = Primary
 ] must-fail
 
 [
-  "ab c" [EBNF a="a" "b" foo=a "c" EBNF] 
+  "ab c" [EBNF a="a" "b" foo=a "c" EBNF]
 ] must-fail
 
 { V{ V{ "a" "b" } "c" } } [
@@ -373,19 +373,19 @@ main = Primary
 ] unit-test
 
 [
-  "ab c" [EBNF a="a" "b" foo=(a "c") EBNF] 
+  "ab c" [EBNF a="a" "b" foo=(a "c") EBNF]
 ] must-fail
 
 [
-  "a b c" [EBNF a="a" "b" foo=a "c" EBNF] 
+  "a b c" [EBNF a="a" "b" foo=a "c" EBNF]
 ] must-fail
 
 [
-  "a b c" [EBNF a="a" "b" foo=(a "c") EBNF] 
+  "a b c" [EBNF a="a" "b" foo=(a "c") EBNF]
 ] must-fail
 
 [
-  "a b c" [EBNF a="a" "b" foo={a "c"} EBNF] 
+  "a b c" [EBNF a="a" "b" foo={a "c"} EBNF]
 ] must-fail
 
 { V{ V{ V{ "a" "b" } "c" } V{ V{ "a" "b" } "c" } } } [
@@ -491,7 +491,7 @@ foo=<foreign any-char> 'd'
 ] unit-test
 
 { } [
- "USING: kernel peg.ebnf ; \"a\\n\" [EBNF foo='a' '\n'  => [[ drop \"\n\" ]] EBNF] drop" eval( -- ) 
+ "USING: kernel peg.ebnf ; \"a\\n\" [EBNF foo='a' '\n'  => [[ drop \"\n\" ]] EBNF] drop" eval( -- )
 ] unit-test
 
 [
@@ -530,32 +530,32 @@ Tok                = Spaces (Number | Special )
 ;EBNF
 
 { V{ CHAR: 1 T{ ast-number f 23 } ";" CHAR: x } } [
-  "123;x" [EBNF bar = . 
-                tokenizer = <foreign a-tokenizer Tok>  foo=. 
-                tokenizer=default baz=. 
-                main = bar foo foo baz 
+  "123;x" [EBNF bar = .
+                tokenizer = <foreign a-tokenizer Tok>  foo=.
+                tokenizer=default baz=.
+                main = bar foo foo baz
           EBNF]
 ] unit-test
 
 { V{ CHAR: 5 "+" CHAR: 2 } } [
-  "5+2" [EBNF 
-          space=(" " | "\n") 
-          number=[0-9] 
-          operator=("*" | "+") 
-          spaces=space* => [[ ignore ]] 
-          tokenizer=spaces (number | operator) 
-          main= . . . 
+  "5+2" [EBNF
+          space=(" " | "\n")
+          number=[0-9]
+          operator=("*" | "+")
+          spaces=space* => [[ ignore ]]
+          tokenizer=spaces (number | operator)
+          main= . . .
         EBNF]
 ] unit-test
 
 { V{ CHAR: 5 "+" CHAR: 2 } } [
-  "5 + 2" [EBNF 
-          space=(" " | "\n") 
-          number=[0-9] 
-          operator=("*" | "+") 
-          spaces=space* => [[ ignore ]] 
-          tokenizer=spaces (number | operator) 
-          main= . . . 
+  "5 + 2" [EBNF
+          space=(" " | "\n")
+          number=[0-9]
+          operator=("*" | "+")
+          spaces=space* => [[ ignore ]]
+          tokenizer=spaces (number | operator)
+          main= . . .
         EBNF]
 ] unit-test
 
index 20d19c9a6444c5aeae2041723fcbdb79e4b234ac..8b2a004ca88371fad92b4d80af514b7404da32b2 100644 (file)
@@ -48,4 +48,4 @@ IN: peg.parsers.tests
 
 { "a" } [
   "a" "a" token just parse
-] unit-test
\ No newline at end of file
+] unit-test
index b22a5ef0d0da6a0f258ac48e142948e616680099..3c43511dd516bb8e2e9d9d900324d1135db1de57 100644 (file)
@@ -16,4 +16,3 @@ IN: peg.search.tests
 { "abc 246 def 912" } [
   "abc 123 def 456" 'integer' [ 2 * number>string ] action replace
 ] unit-test
-
index fd259593c45318e4c0a2baec43362b4210e22e59..ade48785a146f9145623ac28535bd085570d7fc7 100644 (file)
@@ -37,7 +37,7 @@ M: hash-0-b hashcode* 2drop 0 ;
         { T{ hash-0-b } "b" }
     }
 ] [ "ph" get >hashtable ] unit-test
+
 [
     H{
         { T{ hash-0-b } "b" }
index 73626004edd6724ef374df864806fa19f8a1db8e..bcae4e4f5a8244b20b6f6eb47897d07f3300f072 100644 (file)
@@ -61,7 +61,7 @@ unit-test
 
 [ "[ \\ + ]" ] [ [ \ + ] unparse ] unit-test
 [ "[ \\ [ ]" ] [ [ \ [ ] unparse ] unit-test
-    
+
 [ t ] [
     100 \ dup <array> unparse-short
     "{" head?
@@ -273,7 +273,7 @@ M: class-see-layout class-see-layout ;
 [ [ + ] ] [ [ \ + (step-into-execute) ] (remove-breakpoints) ] unit-test
 
 [ [ (step-into-execute) ] ] [ [ (step-into-execute) ] (remove-breakpoints) ] unit-test
+
 [ [ 2 2 + . ] ] [
     [ 2 2 \ + (step-into-execute) . ] (remove-breakpoints)
 ] unit-test
@@ -306,7 +306,7 @@ INTERSECTION: intersection-see-test sequence number ;
 [ ] [ \ curry see ] unit-test
 
 [ "POSTPONE: [" ] [ \ [ unparse ] unit-test
-    
+
 TUPLE: started-out-hustlin' ;
 
 GENERIC: ended-up-ballin' ( a -- b )
index 79e7dc570e3b8ce6f3b723dd7eef6838fbc69986..851a613717ba4d3c4c6b36d316572272f5c71108 100644 (file)
@@ -4,4 +4,4 @@ USING: promises math tools.test ;
 LAZY: lazy-test ( a -- b ) 1 + ;
 
 { 1 1 } [ lazy-test ] must-infer-as
-[ 3 ] [ 2 lazy-test force ] unit-test
\ No newline at end of file
+[ 3 ] [ 2 lazy-test force ] unit-test
index 129a639929eeaaf2b9037ee9895ee76ca090bf5b..02f2a05a4025939b4165626d7a576ce88625b777 100644 (file)
@@ -1,3 +1,2 @@
 USING: regexp.dfa tools.test ;
 IN: regexp.dfa.tests
-
index 7f961f4d98ffffb6efee04473bfe4fe5b851fd15..8a018ea60ade42884b8990aa8a73f589285b60c9 100644 (file)
@@ -36,7 +36,7 @@ IN: regexp.minimize.tests
         { start-state 0 }
         { final-states HS{ 3 } }
     }
-] [ 
+] [
     T{ transition-table
         { transitions H{
             { 0 H{ { CHAR: a 1 } { CHAR: b 4 } } }
index f367e62ff55507ac8a3d7b7f169646b1753e7284..f5c389985dd2ffabfc0adea84ed41ae7d66783aa 100644 (file)
@@ -10,7 +10,7 @@ IN: regexp.negation.tests
             { 0 H{ { CHAR: a 1 } { T{ not-class f CHAR: a } -1 } } }
             { 1 H{ { t -1 } } }
             { -1 H{ { t -1 } } }
-        } } 
+        } }
         { start-state 0 }
         { final-states HS{ 0 -1 } }
     }
@@ -19,7 +19,7 @@ IN: regexp.negation.tests
     T{ transition-table
         { transitions H{
             { 0 H{ { CHAR: a 1 } } }
-            { 1 H{ } } 
+            { 1 H{ } }
         } }
         { start-state 0 }
         { final-states HS{ 1 } }
index f0c8e92c6ea59d0ac004c10958abbb1b56c5f5b2..b61befaa8f0a218c87b24de3ac5515478397a48d 100644 (file)
@@ -13,4 +13,3 @@ IN: sequences.complex-components.tests
 [ 0   ] [ test-array fourth ] unit-test
 
 [ { 1.0 2.0 3.0 0 5.0 6.0 } ] [ test-array >array ] unit-test
-
index 0cb0b41a78771b09805b2841506b5842750b24ef..3f421bac10017bbee6019ef71cbc4e30b0f7e494 100644 (file)
@@ -25,4 +25,3 @@ unit-test
 [ float-array{ 7.0 0.0 3.0 4.0 } ]
 [ test-array [ 7.0 0 rot set-nth ] [ seq>> ] bi ]
 unit-test
-
index 0558d5d050c320e918fd02c8f8417a990e164203..b86693bc28126dfb57204841a1088bc4e663a06c 100644 (file)
@@ -55,7 +55,7 @@ D4d$
 ] unit-test
 
 [ { "A1a!" "B2b@" "C3c#" "D4d$" } ]
-[ 
+[
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
@@ -64,7 +64,7 @@ D4d$
 ] unit-test
 
 [ [ "A1a!" "B2b@" "C3c#" "D4d$" ] ]
-[ 
+[
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
@@ -76,7 +76,7 @@ D4d$
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a!" "b@" "c#" "d$" }
-] [ 
+] [
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
@@ -87,7 +87,7 @@ D4d$
 [
     { "A1" "B2" "C3" "D4" }
     { "a!" "b@" "c#" "d$" }
-] [ 
+] [
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
@@ -98,7 +98,7 @@ D4d$
 [
     { "A1" "B2" "C3" "D4" }
     [ "a!" "b@" "c#" "d$" ]
-] [ 
+] [
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
@@ -107,7 +107,7 @@ D4d$
 ] unit-test
 
 [ { "A1a!" "B2b@" "C3c#" "D4d$" } ]
-[ 
+[
     { "A" "B" "C" "D" }
     { "1" "2" "3" "4" }
     { "a" "b" "c" "d" }
index 0c4f1390bbac2dd4471dac1e65e9cfd44607fef7..bff95dc440de49f17ba1c687368203ee23a49cd0 100644 (file)
@@ -21,7 +21,7 @@ IN: sequences.parser.tests
 [ "foo " "and bar" ]
 [
     "foo and bar" [
-        [ "and" take-until-sequence ] [ take-rest ] bi 
+        [ "and" take-until-sequence ] [ take-rest ] bi
     ] parse-sequence
 ] unit-test
 
@@ -92,7 +92,7 @@ IN: sequences.parser.tests
 [ "yes" ]
 [
     "yes1234f" <sequence-parser>
-    [ take-integer drop ] [ "yes" take-sequence ] bi 
+    [ take-integer drop ] [ "yes" take-sequence ] bi
 ] unit-test
 
 [ f ] [ "" <sequence-parser> 4 take-n ] unit-test
index 2bfd99f1133ee931c22da1b289de18ad9047e205..124abcacfe8ce7881f26077c39e321a2a96e504e 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2006 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-! 
+!
 USING: tools.test kernel serialize io io.streams.byte-array
 alien arrays byte-arrays bit-arrays specialized-arrays
 sequences math prettyprint parser classes math.constants
index 4165efdcfdf94da344bcd50906d65bfdb04da966..e58cf21ed0ba883fb8e181f3df91ecc2bb924420 100644 (file)
@@ -7,4 +7,3 @@ IN: shuffle.tests
 
 [ 2 3 4 1 ] [ 1 2 3 4 roll ] unit-test
 [ 1 2 3 4 ] [ 2 3 4 1 -roll ] unit-test
-
index 4949d3f188b6e080959378c2e87a1d895cbf75c4..b300aff471a0b1c6a3ea13ee37f61bb34d6bb7a9 100644 (file)
@@ -19,5 +19,3 @@ MEMO: <test1> ( -- code-table )
 
 [ 0xAD31 ] [ 0x8258 <test1> at ] unit-test
 [ 0x8258 ] [ 0xAD31 <test1> value-at ] unit-test
-
-
index 854c76aa02fcc130426059926902cd075f9ff528..8aff04d2be143ce9a5ff4d19523cff830cd2af18 100644 (file)
@@ -96,7 +96,7 @@ SPECIALIZED-ARRAY: test-struct
 
 [ S{ test-struct f 12 20 } ] [
     test-struct-array{
-        S{ test-struct f  4 20 } 
+        S{ test-struct f  4 20 }
         S{ test-struct f 12 20 }
         S{ test-struct f 20 20 }
     } second
@@ -177,7 +177,7 @@ SPECIALIZED-ARRAY: struct-resize-test
     [ struct-resize-test <struct> swap >>x ] map
     \ struct-resize-test >c-array
     [ x>> ] { } map-as ;
-    
+
 [ { 10 20 30 } ] [ { 10 20 30 } struct-resize-test-usage ] unit-test
 
 [ ] [ "IN: specialized-arrays.tests USE: classes.struct USE: alien.c-types STRUCT: struct-resize-test { x int } { y int } ;" eval( -- ) ] unit-test
@@ -205,4 +205,3 @@ SPECIALIZED-ARRAY: struct-resize-test
     int-array{ 1 2 3 4 5 6 7 8 }
     3 6 pick direct-slice [ 55555 1 ] dip set-nth
 ] unit-test
-
index f9de4979ab68a8cc0b4c97034c5fbc73eb4b4f91..9658c6702d3b8bfc17aaffae593d48804d76e026 100644 (file)
@@ -4,7 +4,7 @@ USING: tools.test suffix-arrays kernel namespaces sequences ;
 IN: suffix-arrays.tests
 
 ! built from [ all-words 10 head [ name>> ] map ]
-[ ] [ 
+[ ] [
      {
         "run-tests"
         "must-fail-with"
index 3bdc0b951b6464ec5782a17caf63734b4835f7b3..50c24736dfb9d7645c8054a6b57bd3dd85ef3e7a 100644 (file)
@@ -65,7 +65,7 @@ M: object my-generic ;
 ! Make sure annotations work on primitives
 \ gc reset
 \ gc watch
-   
+
 [ f ] [ [ [ gc ] with-error>output ] with-string-writer empty? ] unit-test
 
 \ gc reset
index 361b52b45f5cc81d35d0b40d3c116bb8534aa14c..52165b7ddbbf2f72806753f9371e79f6235a9e72 100644 (file)
@@ -57,4 +57,4 @@ M: sequence generic-forget-test-2 = ;
 [ f ] [
     \ = usage [ word? ] filter
     [ name>> "sequence=>generic-forget-test-2" = ] any?
-] unit-test
\ No newline at end of file
+] unit-test
index 709adafb4e3f40dafb2bfb5a132bafd0d68c655c..05cb83fa68ef49b8e755ce9556ab0a5c045ad78a 100644 (file)
@@ -10,4 +10,4 @@ DEFER: blah
            { asset blah }
         }
     } errors.
-] unit-test
\ No newline at end of file
+] unit-test
index 2ba224cb90869ba1fec1a17bf3d108f0fc188f74..fe2175ce415e730e613931da668f45fe81f85005 100644 (file)
@@ -29,4 +29,4 @@ IN: tools.scaffold.tests
 
 : test-maybe ( obj -- obj/f ) ;
 
-[ ] [ \ test-maybe (help.) ] unit-test
\ No newline at end of file
+[ ] [ \ test-maybe (help.) ] unit-test
index cdd668b910f95d5e5c8ab0c8c8b58e9bc668c249..2d8c67f4f2a581550e63b7e5f3d366f20f13425d 100644 (file)
@@ -50,4 +50,3 @@ SYMBOL: generator-stack
 ] with-variable
 
 notify-error-observers
-
index b6094d7d7ef4a78cd5b8bc5715fa9a395470a3b6..113e6207198a495a0901360a51018c4db1ce74c1 100644 (file)
@@ -90,7 +90,7 @@ IN: tools.walker.tests
 [ { "4\n" } ] [
     [ [ 2 2 + number>string print ] with-string-writer ] test-walker
 ] unit-test
-                                                            
+
 [ { 1 2 3 } ] [
     [ { 1 2 3 } set-datastack ] test-walker
 ] unit-test
index aa64e9a72d2a94e5806f04942e5450fc5f0274b2..34cd559595fc22419b3b305d79374f256caa0a76 100644 (file)
@@ -11,7 +11,7 @@ TUPLE-ARRAY: foo
 [ T{ foo } ] [ mat get first ] unit-test
 [ T{ foo f 2 } ] [ T{ foo f 2 } 0 mat get [ set-nth ] keep first ] unit-test
 [ t ] [ { T{ foo f 1 } T{ foo f 2 } } >foo-array dup mat set foo-array? ] unit-test
-[ T{ foo f 3 } t ] 
+[ T{ foo f 3 } t ]
 [ mat get [ bar>> 2 + <foo> ] map [ first ] keep foo-array? ] unit-test
 
 [ 2 ] [ 2 <foo-array> dup mat set length ] unit-test
@@ -68,4 +68,4 @@ TUPLE-ARRAY: tuple-to-struct
     eval( -- )
 ] unit-test
 
-[ t ] [ tuple-to-struct struct-class? ] unit-test
\ No newline at end of file
+[ t ] [ tuple-to-struct struct-class? ] unit-test
index 6ad47c9d1b24c1f09694b5238ee68626593042c4..874c0151c9f29d19e3fb0aaf8ff0b0937748308e 100644 (file)
@@ -14,4 +14,4 @@ IN: ui.baseline-alignment.tests
 [ 15 40 ] [ 20 10 40 10 combine-metrics ] unit-test
 [ 12 3 ] [ 0 12 3 9 combine-metrics ] unit-test
 
-[ t ] [ \ baseline \ cap-height [ order ] bi@ set= ] unit-test 
\ No newline at end of file
+[ t ] [ \ baseline \ cap-height [ order ] bi@ set= ] unit-test
index 7dfd8e3edf6787f40ea75576c7a58561d828ce00..bd1e4d4198f59b16742bdd37294bdd729bf3f5d7 100644 (file)
@@ -44,4 +44,4 @@ os macosx? [
 
 : com-foo. ( -- ) ;
 
-[ "Foo" ] [ \ com-foo. command-name ] unit-test
\ No newline at end of file
+[ "Foo" ] [ \ com-foo. command-name ] unit-test
index 3fbdf12cbe5c962acbf74e6e15126530c8d77de3..630a6d547aeb3497e17c5d500d6124d4e4d9ec58 100644 (file)
@@ -66,4 +66,3 @@ IN: ui.gadgets.editors.tests
     dup pref-viewport-dim >>dim
     visible-lines
 ] unit-test
-
index 95e3c6b09ae601bd49af4d73d5c134be9acfaedb..f301abd6d6cc416bb963c204a7ee10378b7bf5bb 100644 (file)
@@ -37,4 +37,4 @@ IN: ui.gadgets.frames.tests
     { 65 70 } >>dim
     layout
     "c" get [ loc>> ] [ dim>> ] bi
-] unit-test
\ No newline at end of file
+] unit-test
index e95803d33607f7de497d99d4e25d7e80380a284f..00598412c40b3b8bebd61b86f0fe42f06e52ac3a 100644 (file)
@@ -18,4 +18,4 @@ math.rectangles namespaces accessors models sequences arrays ;
 
 [ f ] [ "g" get parent>> parent>> ] unit-test
 
-[ t ] [ "w" get layers>> empty? ] unit-test
\ No newline at end of file
+[ t ] [ "w" get layers>> empty? ] unit-test
index 4cbbffd4b03af990d5ac035bf09007a20f473d87..457c13f2259b67ba8a26503715eb6947256b1b5c 100644 (file)
@@ -65,4 +65,4 @@ ui.gadgets.grids.private accessors arrays ui.gadgets.grids sorting kernel ;
     1array 1array <grid> { 1 1 } >>gap
     dup prefer
     compute-grid-lines
-] unit-test
\ No newline at end of file
+] unit-test
index ec232c32c43b10bddce214d3377630cd2cbbae8a..ae6d05617b5fa408e876af4ca705e5385bd75289 100644 (file)
@@ -1,4 +1,4 @@
 IN: ui.gadgets.labeled.tests
 USING: ui.gadgets ui.gadgets.labeled accessors tools.test ;
 
-[ t ] [ <gadget> "Hey" <labeled-gadget> content>> gadget? ] unit-test
\ No newline at end of file
+[ t ] [ <gadget> "Hey" <labeled-gadget> content>> gadget? ] unit-test
index 7ca83ce465c1ba3e6fd8ebb24d661a53f3e15ff7..ff9d9ea181e414621b2fc6399b998069f29a4f51 100644 (file)
@@ -136,4 +136,4 @@ IN: ui.gadgets.packs.tests
 12 9 { 15 15 } <baseline-gadget> add-gadget
 "g" set
 
-[ { 39 24 } ] [ "g" get pref-dim ] unit-test
\ No newline at end of file
+[ { 39 24 } ] [ "g" get pref-dim ] unit-test
index 847e14df8a07aba9da31061cfa505085710951ae..0eecd2b56a5eed04cc20d6df63962d17edac4115 100644 (file)
@@ -134,4 +134,4 @@ ARTICLE: "test-article-2" "This is a test article"
     <gadget> pane new-pane ;
 
 [ t ] [ <test-pane> dup input>> child? ] unit-test
-[ t ] [ <test-pane> dup last-line>> child? ] unit-test
\ No newline at end of file
+[ t ] [ <test-pane> dup last-line>> child? ] unit-test
index c8494216b40a271c4de452c780eca03f4d7c8338..44c0ca567738e2f173c35e17adaa2afe080f0825 100644 (file)
@@ -49,4 +49,4 @@ INSTANCE: fake-break word-break
 
 [ { 45 5 } ] [ "b" get loc>> ] unit-test
 
-[ { 0 35 } ] [ "c" get loc>> ] unit-test
\ No newline at end of file
+[ { 0 35 } ] [ "c" get loc>> ] unit-test
index 844cb375d129440ba886ddfef07fd57ad8b765eb..5d169cc7c177ffb5145ead7759332e7de3cef7f1 100644 (file)
@@ -5,7 +5,7 @@ IN: ui.gadgets.tracks.tests
 [ { 100 100 } ] [
     vertical <track>
         <gadget> { 100 100 } >>dim 1 track-add
-    pref-dim    
+    pref-dim
 ] unit-test
 
 [ { 100 110 } ] [
@@ -70,4 +70,4 @@ IN: ui.gadgets.tracks.tests
     "track" get [ layout ] [ children>> [ dim>> ] map ] bi
 ] unit-test
 
-[ 3 ] [ "track" get sizes>> length ] unit-test
\ No newline at end of file
+[ 3 ] [ "track" get sizes>> length ] unit-test
index 3412d039491775d922f81ff83a660c00e2c9c3df..9095881c78b71b755dc759eb8bef81bce4f5d593 100644 (file)
@@ -39,4 +39,3 @@ dummy new <history> "history" set
 
 [ f ] [ "history" get back>> empty? ] unit-test
 [ t ] [ "history" get forward>> empty? ] unit-test
-
index 2971b1e8cb93053ecda98e8a7fd8d6f87580f300..65f06ecfbaf7207f7237abf84ff7a13055b626b9 100644 (file)
@@ -1,4 +1,4 @@
 IN: ui.tools.inspector.tests
 USING: tools.test ui.tools.inspector math models ;
 
-[ ] [ \ + <model> <inspector-gadget> com-edit-slot ] unit-test
\ No newline at end of file
+[ ] [ \ + <model> <inspector-gadget> com-edit-slot ] unit-test
index fe0b57b98061ea43d3bd593b5a5670a80fb5b57e..31dec35c5c6f900ae84a12e3664657d4ae198e0a 100644 (file)
@@ -1,3 +1,2 @@
 USING: ui.tools.walker tools.test ;
 IN: ui.tools.walker.tests
-
index 59e83c2b29b11b7dc6832188919d107ba0d447ea..51ac5b5857a31eec69a32c71721027711111f5c1 100644 (file)
@@ -3,9 +3,9 @@
 USING: tools.test kernel unicode.categories words sequences unicode.data ;
 IN: unicode.categories.tests
 
-[ { f f t t f t t f f t } ] [ CHAR: A { 
-    blank? letter? LETTER? Letter? digit? 
-    printable? alpha? control? uncased? character? 
+[ { f f t t f t t f f t } ] [ CHAR: A {
+    blank? letter? LETTER? Letter? digit?
+    printable? alpha? control? uncased? character?
 } [ execute ] with map ] unit-test
 [ "Nd" ] [ CHAR: 3 category ] unit-test
 [ "Lo" ] [ 0x3400 category ] unit-test
index 1ec622fc9802c9f3f2818c31a4995793605a4d24..536c0e947cda3eec36a469386297a30dbb2fe535 100644 (file)
@@ -1,3 +1,2 @@
 ! Copyright (C) 2009 Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
-
index 8ca3aa93f9a7eb401abfea385da397af462089f2..cfa0525b2cb2033de8657f64e95fa88f4140a6f6 100644 (file)
@@ -31,4 +31,3 @@ test-sigusr1-handler SIGUSR1 add-signal-handler
     0.5 seconds sleep
     sigusr1-count get-global swap -
 ] unit-test
-
index 8eadfb9cbfebff667807a7980f124ea31858522a..d434b78a8e0f280ba5eba0807e09c063e206a7d0 100644 (file)
@@ -65,7 +65,7 @@ IN: unrolled-lists.tests
         10 group [
             [ [ over push-front ] each ]
             [ length [ dup pop-back ] replicate ]
-            bi 
+            bi
         ] map concat
     ] keep
     =
index 84e6eaa8905731640436e7bf3559b463006b9a85..7f7586ba24a3da35302ffe6296c2d73d31f5037c 100644 (file)
@@ -37,4 +37,4 @@ USING: urls.encoding tools.test arrays kernel assocs present accessors ;
 
 [ "a" ] [ { { "a" f } } assoc>query ] unit-test
 
-[ H{ { "a" f } } ] [ "a" query>assoc ] unit-test
\ No newline at end of file
+[ H{ { "a" f } } ] [ "a" query>assoc ] unit-test
index 909e5f603d0c282726ecdbf8db38f92aa66de08d..577f77e687238dfa3e16d7a87d921be0c38fcf57 100644 (file)
@@ -10,9 +10,8 @@ IN: uuid.tests
 [ t ] [ NAMESPACE_OID  [ uuid-parse uuid-unparse ] keep = ] unit-test
 [ t ] [ NAMESPACE_X500 [ uuid-parse uuid-unparse ] keep = ] unit-test
 
-[ t ] [ NAMESPACE_URL "ABCD" uuid3 
+[ t ] [ NAMESPACE_URL "ABCD" uuid3
         "2e10e403-d7fa-3ffb-808f-ab834a46890e" = ] unit-test
 
-[ t ] [ NAMESPACE_URL "ABCD" uuid5 
+[ t ] [ NAMESPACE_URL "ABCD" uuid5
         "0aa883d6-7953-57e7-a8f0-66db29ce5a91" = ] unit-test
-
index 6df69a65d66fd3cc4be5e983a4f08516272b72ec..b62fdef192249f0a3deb6940861a9a0dd2adc1d2 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2009 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test wrap.words sequences ;
-IN: wrap.words.tests    
+IN: wrap.words.tests
 
 [
     {
@@ -78,4 +78,3 @@ IN: wrap.words.tests
         T{ word f 5 10 f }
     } 35 35 wrap-words [ { } like ] map
 ] unit-test
-
index df7f2f19570688c0a2814ff89ff5b5b54b640116..0ccdf8bdfb967603673a67dec8b1e82fc1711dfe 100644 (file)
@@ -2,4 +2,4 @@ USING: xml-rpc tools.test ;
 
 [ T{ rpc-method f "blah" { 1 H{ { "2" 3 } { "5" t } } } } ]
 [ "blah" { 1 H{ { "2" 3 } { "5" t } } }
-    <rpc-method> send-rpc receive-rpc ] unit-test 
+    <rpc-method> send-rpc receive-rpc ] unit-test
index 1d059852e29712073aa54f5b7eb33f3215c9a9a2..c67148c0c79d4beabe22d44c4b7d2be9671e3388 100644 (file)
@@ -129,7 +129,7 @@ IN: xmode.marker.tests
 ] unit-test
 
 [
-    
+
 ] [
     f "font:75%/1.6em \"Lucida Grande\", \"Lucida Sans Unicode\", verdana, geneva, sans-serif;" "css" load-mode tokenize-line 2drop
 ] unit-test
index a725e0479a62d3bf2c1fe56a5d3eeaf58a1ba64c..15d83d1b02a385b6d63f1b1674fb65d0dd22e0fd 100644 (file)
@@ -3,4 +3,3 @@ USING: checksums checksums.crc32 kernel math tools.test namespaces ;
 [ B{ 0 0 0 0 } ] [ "" crc32 checksum-bytes ] unit-test
 
 [ B{ 0xcb 0xf4 0x39 0x26 } ] [ "123456789" crc32 checksum-bytes ] unit-test
-
index 52fa822c1006ce39669f5e24b9e057fd72f2b716..11a6d9257c6be1277c9bff3ebc41f1c166707334 100644 (file)
@@ -328,11 +328,11 @@ MIXIN: empty-mixin
     [ t ] [
         20 [ random-boolean-op ] [ ] replicate-as dup .
         [ infer in>> length [ random-boolean ] replicate dup . ] keep
-        
+
         [ [ [ ] each ] dip call ] 2keep
-        
+
         [ [ boolean>class ] each ] dip [ boolean-op>class-op ] map call object class=
-        
+
         =
     ] unit-test
 ] times
@@ -357,7 +357,7 @@ TUPLE: xh < xb ;
 
 [ t ] [ { xa xb xc xd xe xf xg xh } sort-classes dup sort-classes = ] unit-test
 
-[ H{ { word word } } ] [ 
+[ H{ { word word } } ] [
     generic-class flatten-class
 ] unit-test
 
index ad5d0c7b0ccc4499581f328c4cad205a047463c0..83c73cee719d6541fa19fef833c4b76b9d892c65 100644 (file)
@@ -52,7 +52,7 @@ USE: io.streams.string
 
 2 [
     [ "mixin-forget-test" forget-source ] with-compilation-unit
-    
+
     [ ] [
         {
             "USING: sequences ;"
@@ -64,10 +64,10 @@ USE: io.streams.string
         } "\n" join <string-reader> "mixin-forget-test"
         parse-stream drop
     ] unit-test
-    
+
     [ { } ] [ { } "mixin-forget-test-g" "classes.mixin.tests" lookup-word execute ] unit-test
     [ H{ } "mixin-forget-test-g" "classes.mixin.tests" lookup-word execute ] must-fail
-    
+
     [ ] [
         {
             "USING: hashtables ;"
@@ -79,7 +79,7 @@ USE: io.streams.string
         } "\n" join <string-reader> "mixin-forget-test"
         parse-stream drop
     ] unit-test
-    
+
     [ { } "mixin-forget-test-g" "classes.mixin.tests" lookup-word execute ] must-fail
     [ H{ } ] [ H{ } "mixin-forget-test-g" "classes.mixin.tests" lookup-word execute ] unit-test
 ] times
index 988be0dd88a6bf3c5257cec15fed13fbec127cd3..8f3bba550195d5bcc58c8ef3c8774e4ae94756f7 100644 (file)
@@ -52,7 +52,7 @@ IN: continuations.tests
 
 ! ! See how well callstack overflow is handled
 ! [ clear drop ] must-fail
-! 
+!
 ! : callstack-overflow callstack-overflow f ;
 ! [ callstack-overflow ] must-fail
 
index 8be8355cd4abdb6fbd82f0957c86bcf9eaa7778e..b5a7cdffb1ec868013d872a4c8f93868dba99546 100644 (file)
@@ -33,4 +33,3 @@ M: growable call-next-hooker call-next-method "growable " prepend ;
 [ t ] [
     \ + \ nth effective-method nip dup \ nth "default-method" word-prop eq? and
 ] unit-test
-
index 9a4a4d6016a036195540aab9729210308fa17d38..49de796f3af03d6ffb718b32a49eeff008bcb2eb 100644 (file)
@@ -256,7 +256,7 @@ M: f generic-forget-test ;
 
     """IN: generic.standard.tests
     FORGET: boii""" eval( -- )
-    
+
     """IN: generic.standard.tests
     TUPLE: boii ;
     M: boii jeah ;""" eval( -- )
index be79ff6f47e3f4751f58f61a518befbebd326fe9..93f3013af32c976a113838ef22ccc914e7e45398 100644 (file)
@@ -64,13 +64,13 @@ M: dumb-writer stream-element-type drop +byte+ ; inline
 M: dumb-writer stream-write1 vector>> push ; inline
 
 { BV{ 11 22 33 } } [
-    <dumb-writer> 
+    <dumb-writer>
     [ B{ 11 22 33 } swap stream-write ]
     [ vector>> ] bi
 ] unit-test
 
 { BV{ 11 22 33 10 } } [
-    <dumb-writer> 
+    <dumb-writer>
     [ B{ 11 22 33 } swap stream-write ]
     [ stream-nl ]
     [ vector>> ] tri
index c6095088655b38596b183edcbf2b3d279a6c7ee7..9fb23355cbcef727244cdecfac2086e14c8ce140 100644 (file)
@@ -1,6 +1,6 @@
 USING: io.pathnames io.files.temp io.directories
 continuations math io.files.private kernel
-namespaces sequences system tools.test 
+namespaces sequences system tools.test
 io.backend io.pathnames.private ;
 IN: io.pathnames.tests
 
@@ -73,13 +73,11 @@ IN: io.pathnames.tests
 [ "" ] [ "/funny.directory/file-with-no-extension." file-extension ] unit-test
 
 ! Testing ~ special pathname
-[ t ] [ os windows? "~\\" "~/" ? absolute-path home = ] unit-test 
-[ t ] [ "~/" home [ normalize-path ] same? ] unit-test 
+[ t ] [ os windows? "~\\" "~/" ? absolute-path home = ] unit-test
+[ t ] [ "~/" home [ normalize-path ] same? ] unit-test
 
 [ t ] [ "~" absolute-path home = ] unit-test
-[ t ] [ "~" home [ normalize-path ] same? ] unit-test 
+[ t ] [ "~" home [ normalize-path ] same? ] unit-test
 
 [ t ] [ "~" home [ "foo" append-path ] bi@ [ normalize-path ] same? ] unit-test
 [ t ] [ os windows? "~\\~/" "~/~/" ? "~" "~" append-path [ path-components ] same? ] unit-test
-
-
index 529a4fdc1b370af2dbc4daa4bf8306b1c90d9399..89d58b623eb90b271cfdf7ee7fe5c3f750b1a6e7 100644 (file)
@@ -148,7 +148,7 @@ unit-test
 [ f ]
 [ "." string>number ]
 unit-test
+
 [ f ]
 [ ".e" string>number ]
 unit-test
index 78fa9e2b732ff76e186be2b252a46d69510e118e..c5db975ae319e167553f648635489a4e5fddb8eb 100644 (file)
@@ -1,4 +1,4 @@
 USING: lexer namespaces parser.notes source-files tools.test ;
 IN: parser.notes.tests
 
-[ ] [ f lexer set f file set "Hello world" note. ] unit-test
\ No newline at end of file
+[ ] [ f lexer set f file set "Hello world" note. ] unit-test
index c97a5a5c689b61db93c8a2c35605a7015f6cc724..60de486560c728958fc98defd2e01a4588bcd605 100644 (file)
@@ -63,9 +63,9 @@ IN: sequences.tests
 [ t ]
 [ [ "hello" "world" ] [ second ] keep member-eq? ] unit-test
 
-[ 4 ] [ CHAR: x "tuvwxyz" >vector index ] unit-test 
+[ 4 ] [ CHAR: x "tuvwxyz" >vector index ] unit-test
 
-[ f ] [ CHAR: x 5 "tuvwxyz" >vector index-from ] unit-test 
+[ f ] [ CHAR: x 5 "tuvwxyz" >vector index-from ] unit-test
 
 [ f ] [ CHAR: a 0 "tuvwxyz" >vector index-from ] unit-test
 
index 721846b2d1c9f9caf56cdd0a96e48b9b4bc69c4c..88a6399283e93507f8e521bb5952f31bb11b7deb 100644 (file)
@@ -17,4 +17,4 @@ CONSTANT: c { 1 2 3 }
 
 SYMBOL: foo
 
-[ f ] [ \ foo constant? ] unit-test
\ No newline at end of file
+[ f ] [ \ foo constant? ] unit-test
index 5e8b6d666d955f26a646906f19641f963d325dab..8af473c62d824bc4ead7492e59da59db95206f20 100644 (file)
@@ -49,7 +49,7 @@ IN: alien.data.map.tests
 
 : float-pixels>byte-pixels* ( floats scale bias -- bytes )
     '[
-        [ _ 255.0 * v*n _ 255.0 * v+n float-4 int-4 vconvert ] 4 napply 
+        [ _ 255.0 * v*n _ 255.0 * v+n float-4 int-4 vconvert ] 4 napply
         [ int-4 short-8 vconvert ] 2bi@
         short-8 uchar-16 vconvert
     ] data-map( float-4[4] -- uchar-16 ) ; inline
@@ -63,7 +63,7 @@ IN: alien.data.map.tests
         255 25 51 76
         76 51 229 127
         25 255 255 255
-    } 
+    }
 ] [
     float-array{
         0.5 0.75 1.0 0.25
@@ -79,7 +79,7 @@ IN: alien.data.map.tests
         255 25 51 76
         76 51 229 127
         25 255 255 255
-    } 
+    }
 ] [
     float-array{
         0.5 0.75 1.0 0.25
@@ -95,7 +95,7 @@ IN: alien.data.map.tests
         255 25 51 76
         76 51 229 127
         25 255 255 255
-    } 
+    }
 ] [
     float-array{
         0.5 0.75 1.0 0.25
@@ -104,7 +104,7 @@ IN: alien.data.map.tests
         0.1 1.0 1.5 2.0
         5.0
     } [
-        [ 255.0 v*n float-4 int-4 vconvert ] 4 napply 
+        [ 255.0 v*n float-4 int-4 vconvert ] 4 napply
         [ int-4 short-8 vconvert ] 2bi@
         short-8 uchar-16 vconvert
     ] data-map( float-4[4] -- uchar-16 )
index ad2a60ddc47f968813b5eb927252ed6d241a25a8..00bb958ad6221fdc70f1567e99d77173c5a7b85b 100644 (file)
@@ -200,13 +200,13 @@ intel-unix-abi fortran-abi [
             [ { [ length ] [ drop ] [ drop ] [ drop ] [ drop ] } spread ]
         } 5 ncleave
         ! [fortran-invoke]
-        [ 
+        [
             c:void "funpack" "funtimes_"
             { pointer: { c:char 12 } pointer: c:longlong pointer: c:float pointer: complex-float pointer: c:short c:long }
             alien-invoke
         ] 6 nkeep
         ! [fortran-results>]
-        shuffle( aa ba ca da ea ab -- aa ab ba ca da ea ) 
+        shuffle( aa ba ca da ea ab -- aa ab ba ca da ea )
         {
             [ drop ]
             [ drop ]
@@ -230,7 +230,7 @@ intel-unix-abi fortran-abi [
         [ c:float "funpack" "fun_times_" { pointer: { c:float 0 } } alien-invoke ]
         1 nkeep
         ! [fortran-results>]
-        shuffle( reta aa -- reta aa ) 
+        shuffle( reta aa -- reta aa )
         { [ ] [ drop ] } spread
     ] ] [
         "REAL" "funpack" "FUN_TIMES" { "REAL(*)" }
@@ -245,7 +245,7 @@ intel-unix-abi fortran-abi [
         ! [fortran-invoke]
         [
             c:void "funpack" "fun_times_"
-            { pointer: complex-float pointer: { c:float 0 } } 
+            { pointer: complex-float pointer: { c:float 0 } }
             alien-invoke
         ] 2 nkeep
         ! [fortran-results>]
@@ -262,11 +262,11 @@ intel-unix-abi fortran-abi [
         ! [fortran-invoke]
         [
             c:void "funpack" "fun_times_"
-            { pointer: { c:char 20 } long } 
+            { pointer: { c:char 20 } long }
             alien-invoke
         ] 2 nkeep
         ! [fortran-results>]
-        shuffle( reta retb -- reta retb ) 
+        shuffle( reta retb -- reta retb )
         { [ ] [ ascii alien>nstring ] } spread
     ] ] [
         "CHARACTER*20" "funpack" "FUN_TIMES" { }
@@ -288,11 +288,11 @@ intel-unix-abi fortran-abi [
         ! [fortran-invoke]
         [
             c:void "funpack" "fun_times_"
-            { pointer: { c:char 10 } long pointer: { c:char 20 } pointer: c:float pointer: { c:char 30 } c:long c:long } 
+            { pointer: { c:char 10 } long pointer: { c:char 20 } pointer: c:float pointer: { c:char 30 } c:long c:long }
             alien-invoke
         ] 7 nkeep
         ! [fortran-results>]
-        shuffle( reta retb aa ba ca ab cb -- reta retb aa ab ba ca cb ) 
+        shuffle( reta retb aa ba ca ab cb -- reta retb aa ab ba ca cb )
         {
             [ ]
             [ ascii alien>nstring ]
index b03494ce015e793ee8a7bd2403d6aba79b7e0b56..bf799f1c4774ee92378ba8726e11f924bffa68a1 100644 (file)
@@ -2,7 +2,7 @@ USING: accessors annotations combinators.short-circuit
 io.pathnames kernel math sequences sorting tools.test ;
 IN: annotations.tests
 
-!NOTE testing toplevel form 
+!NOTE testing toplevel form
 
 : three ( -- x )
     !BROKEN english plz
index ac65e839ac8b28930c948282958d6a0f42473a68..7a1070a128623cd720a28f06fe0b68353026cc3d 100644 (file)
@@ -25,12 +25,12 @@ USING: asn1 asn1.ldap io io.streams.string tools.test ;
     ! triggers string
     [ B{ 4 6 97 98 99 100 101 102 } ] [ "abcdef" >ber ] unit-test
 
-    [ B{ 69 6 97 98 99 100 101 102 } ] [ 
-        5 "abcdef" >ber-application-string 
+    [ B{ 69 6 97 98 99 100 101 102 } ] [
+        5 "abcdef" >ber-application-string
     ] unit-test
 
-    [ B{ 133 6 97 98 99 100 101 102 } ] [ 
-        5 "abcdef" >ber-contextspecific-string 
+    [ B{ 133 6 97 98 99 100 101 102 } ] [
+        5 "abcdef" >ber-contextspecific-string
     ] unit-test
 
     ! triggers array
@@ -40,11 +40,11 @@ USING: asn1 asn1.ldap io io.streams.string tools.test ;
 
     [ B{ 48 4 49 50 51 52 } ] [ { 1 2 3 4 } >ber-sequence ] unit-test
 
-    [ B{ 96 4 49 50 51 52 } ] [ 
+    [ B{ 96 4 49 50 51 52 } ] [
         { 1 2 3 4 } >ber-appsequence
     ] unit-test
 
-    [ B{ 160 4 49 50 51 52 } ] [ 
+    [ B{ 160 4 49 50 51 52 } ] [
         { 1 2 3 4 } >ber-contextspecific-array
     ] unit-test
 
index 431972416fd79d7ce9987724557816c7736e21de..42c7e7f26f627c97af07a82ab8078d783a8713c6 100644 (file)
@@ -62,7 +62,7 @@ IN: brainfuck
 ! Uppercase
 
 { "A" } [ "a\n" [ ",----------[----------------------.,----------]"
-          get-brainfuck ] with-string-reader ] unit-test 
+          get-brainfuck ] with-string-reader ] unit-test
 
 ! cat
 
index 082827353de2677b78a4636b56ede642397ccc51..6d883b469a471eb06c85078c282712cfca4bf972 100644 (file)
@@ -100,4 +100,3 @@ IN: c.lexer.tests
 
 [ "123u" ]
 [ "123u" <sequence-parser> take-c-integer ] unit-test
-
index 7b0dedea46c122f0701cb96a71a0e3d422a0b130..da5c574b5c1a26cde538995054b189d1e7e12372 100644 (file)
@@ -20,8 +20,8 @@ IN: c.preprocessor.tests
 
 
 (*
-f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1); 
-f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1); 
-int i[] = { 1, 23, 4, 5, }; 
-char c[2][6] = { "hello", "" }; 
+f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
+f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);
+int i[] = { 1, 23, 4, 5, };
+char c[2][6] = { "hello", "" };
 *)
index 80c0f29d1abdbf43e1012ac8aad1b5ebc4d504f4..e4f5ac77d28e408bdc1620abb877a3b8da1dd904 100644 (file)
@@ -17,4 +17,3 @@ USING: cgi cgi.private kernel tools.test ;
 [ t ] [ "text/html; charset=utf-8" (content-type)
         [ H{ { "charset" { "utf-8" } } } = ]
         [ "text/html" = ] bi* and ] unit-test
-
index 4d083faa5d563b4b47b9ccea64fc525c010807e6..4b3985b98bf9ba4df0017465857ebae462789ba5 100644 (file)
@@ -45,7 +45,7 @@ VECTORED-STRUCT: foo
         S{ foo { x 1 } { y 0.5 } { z 20 } { w 25 } }
         S{ foo { x 2 } { y 1.0 } { z 30 } { w 35 } }
         S{ foo { x 3 } { y 1.5 } { z 40 } { w 45 } }
-    } 
+    }
 ] [
     T{ vectored-foo
         { x int-array{     0    1    2    3   } }
index d8e75aa8546de96303f53f77e4d355a12e9189d7..bb2a4be9446d1c14eb19a35448605e751fa7b42e 100644 (file)
@@ -4,4 +4,3 @@ USING: crypto.barrett kernel math namespaces tools.test ;
 IN: crypto.barrett.tests
 
 [ 0x1f63edfb7e838622c7412eafaf0439cf0cdf3aae8bdd09e2de69b509a53883a83560d5ce50ea039e4 ] [  0x827c67f31b2b46afa49ed95d7f7a3011e5875f7052d4c55437ce726d3c6ce0dc9c445fda63b6dc4e 16 barrett-mu ] unit-test
-
index 03aca0578b0c3f9b0b7c25411855c2b624b3d443..b18373662d61c4b5597d9774bdd247225f90eadf 100644 (file)
@@ -5,4 +5,3 @@ IN: crypto.rsa.tests
 [ 123456789 ] [ 129 generate-rsa-keypair 123456789 over rsa-encrypt swap rsa-decrypt ] unit-test
 [ 123456789 ] [ 130 generate-rsa-keypair 123456789 over rsa-encrypt swap rsa-decrypt ] unit-test
 [ 123 ] [ 3233 2753 17 <rsa> 123 over rsa-encrypt swap rsa-decrypt ] unit-test
-
index f3a13e086ffeb009db385c62b4299e1bb7545c56..aaa7c431a7fc6d21c414478af4af29a33de2fa99 100644 (file)
@@ -15,7 +15,7 @@ IN: crypto.xor.tests
 [ "asdf" ] [ "asdf" "key" [ xor-crypt ] [ xor-crypt ] bi >string ] unit-test
 [ "" ] [ "" "key" xor-crypt >string ] unit-test
 [ "a longer message...!" ] [
-    "a longer message...!" 
+    "a longer message...!"
     "." [ xor-crypt ] [ xor-crypt ] bi >string
 ] unit-test
 [ "a longer message...!" ] [
index c54fe99217072b387dbe99989b7a583778a4b714..b276c6d786b41762bd8f99ce5f755f36191e706c 100644 (file)
@@ -25,4 +25,3 @@ IN: ctags.tests
   "if\t" "resource:extra/unix/unix.factor" normalize-path "\t91" 3append 1array
   { { if  { "resource:extra/unix/unix.factor" 91 } } } ctag-strings =
 ] unit-test
-
index 6481c5a0a7dcdb34ce399b900caf4e1671225122..e7ca71cc0a1b3d2624d9a2c239ace2e9a5ac60df 100644 (file)
@@ -26,7 +26,7 @@ IN: ctags.etags.tests
   V{ if { "path" 1 } }
   { if { "path" 1 } }
   { { "path" V{ if { "path" 1 } } } } >hashtable
-  etag-vector = 
+  etag-vector =
 ] unit-test
 
 ! etag-pair 
@@ -56,7 +56,7 @@ IN: ctags.etags.tests
   17
   { "1234567890" "12345" } 2 lines>bytes =
 ] unit-test
-  
+
 ! etag
 [ t ]
 [
index fc648d48a0ca82c07d289048b50c78b81357b139..633052e9046e5729770adcb7f060e2da7a1ff9e7 100644 (file)
@@ -2,12 +2,11 @@
 USING: cuda.devices tools.test ;
 IN: cuda.devices.tests
 
-[ 1  5 100 ] [  5 20 100 10 (distribute-jobs) ] unit-test 
-[ 2  5 100 ] [ 10 20 100 10 (distribute-jobs) ] unit-test 
-[ 2  5 100 ] [ 10 20 200  5 (distribute-jobs) ] unit-test 
-[ 2  5 100 ] [ 10 20 300  6 (distribute-jobs) ] unit-test 
-[ 2  6 120 ] [ 11 20 300  6 (distribute-jobs) ] unit-test 
-[ 1 10 200 ] [ 10 20 200 10 (distribute-jobs) ] unit-test 
-[ 1 10   0 ] [ 10  0 200 10 (distribute-jobs) ] unit-test 
-[ 2  5   0 ] [ 10  0 200  9 (distribute-jobs) ] unit-test 
-
+[ 1  5 100 ] [  5 20 100 10 (distribute-jobs) ] unit-test
+[ 2  5 100 ] [ 10 20 100 10 (distribute-jobs) ] unit-test
+[ 2  5 100 ] [ 10 20 200  5 (distribute-jobs) ] unit-test
+[ 2  5 100 ] [ 10 20 300  6 (distribute-jobs) ] unit-test
+[ 2  6 120 ] [ 11 20 300  6 (distribute-jobs) ] unit-test
+[ 1 10 200 ] [ 10 20 200 10 (distribute-jobs) ] unit-test
+[ 1 10   0 ] [ 10  0 200 10 (distribute-jobs) ] unit-test
+[ 2  5   0 ] [ 10  0 200  9 (distribute-jobs) ] unit-test
index 1ba7ecfcc8c1ae96a400e9546a16229fb7b3de8b..394fbb716cdc16da490420223798ca4630fd78af 100644 (file)
@@ -1101,4 +1101,3 @@ foo:      abs.s32 a, b;
         } }
     } ptx>string
 ] unit-test
-
index 9ffd1916812fabdeb8aca716bcf138df32cdace3..e480c1f1a17ee946375106111f318eb82a3fc95c 100644 (file)
@@ -19,7 +19,7 @@ IN: curses.tests
         "Hello Curses!" [
             8 random 8 random ccolor addch
         ] each crefresh
-        
+
         2 seconds sleep
     ] with-curses ;
 
index df168a900878da7c5f4e0c52c252c79917b4f6d8..54f27903353c1c6ef2e2842ba11e20f809d4f3d8 100644 (file)
@@ -65,4 +65,3 @@ IN: cursors.tests
     H{ { "roses" "lutefisk" } { "tulips" "lox" } } compile-test-assoc>map
     natural-sort
 ] unit-test
-
index f5ef8981d8ba3b1fb4ee1ad2bcf1172764726667..9d9aa97ac7780aba727c666101654afbe1ed25d2 100644 (file)
@@ -21,7 +21,7 @@ IN: euler.b-rep.tests
     e1 e0 next-edge<<
     e2 e1 next-edge<<
     e0 e2 next-edge<<
-    
+
     e0 ;
 
 [
index 766e2ec60c4a3ee4b2bbe0c54c05a83ec28ddb3d..3190c4abc15a2342e62abe45f888d255e060aa1a 100644 (file)
@@ -51,4 +51,3 @@ IN: fjsc.tests
 { T{ ast-expression f V{ T{ ast-using f V{ "foo" "bar" }  } } } } [
   "USING: foo bar ;" 'statement' parse
 ] unit-test
-
index e62db21fd63894ff0422f97adc90e2be7daaff05..60e3006bcebf428ddd8005810f9197799c768f81 100644 (file)
@@ -18,4 +18,3 @@ IN: flip-text.tests
     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"
     flip-text flip-text
 ] unit-test
-
index c9c9863abd3c16f0a388301baa0b36228dcb8367..ba21cec34e0ea7b27fda0491d797c701df83b30b 100644 (file)
@@ -388,4 +388,4 @@ IN: forestdb.lib
     ] with-forestdb-tester
 ] unit-test
 
-] unless
\ No newline at end of file
+] unless
index 90a8dcc2cb0142ad26d8ed3937fe930c1fd83914..2dafac8907481b79ff860950209fbeae1d889862 100644 (file)
@@ -114,4 +114,3 @@ UNIFORM-TUPLE: array-of-struct-containing-array-of-texture
         } cleave ]
     } cleave
 ] ] [ array-of-textures [bind-uniform-textures] ] unit-test
-
index d9ad79400e530961e90924cd69b212ca8a464f6d..7393ff264ddd4927d73e95f470352c1f2655efd5 100644 (file)
@@ -9,4 +9,3 @@ NOT:A:LOG:LINE"""  ]
 """ERROR: 0:1: Bad command or filename
 INFO: 0:11: The operation completed successfully
 NOT:A:LOG:LINE""" replace-log-line-numbers ] unit-test
-
index f1a0112437d59c3b9a432245445c06dd715e3788..ea06245afa08be11a95066eb4a8c03e936508b2a 100644 (file)
@@ -54,7 +54,7 @@ SYMBOLS: supported-layouts supported-formats ;
 : next! ( seq -- elt ) [ first ] [ 1 rotate! ] bi ;
 
 :: smoke-test ( graph -- pass? )
-    supported-formats get-global next! :> -T 
+    supported-formats get-global next! :> -T
     supported-layouts get-global next! :> -K
     [
         graph "smoke-test" -T -K graphviz
index 9a709844ff4ad8f8a680331c4ed0fc6693439098..457b21b5b1871db7d7e12dfd00e79c477f27c009 100644 (file)
@@ -17,4 +17,3 @@ IN: hash-sets.numbers.tests
 ] unit-test
 
 [ { 1.5 } ] [ NHS{ 1.5 } members ] unit-test
-
index efef40acfa1fcc87ed6c70f743c88c99ba6f39df..aee14fdf0fd79a77f9744da37f9a3c12590e3021 100644 (file)
@@ -2,13 +2,13 @@ USING: accessors sequences tools.test hashcash ;
 
 [ t ] [ "foo@bar.com" mint check-stamp ] unit-test
 
-[ t ] [ 
-    <hashcash> 
-        "foo@bar.com" >>resource 
-        16 >>bits 
+[ t ] [
+    <hashcash>
+        "foo@bar.com" >>resource
+        16 >>bits
     mint* check-stamp ] unit-test
 
-[ t ] [ 
+[ t ] [
     "1:20:040927:mertz@gnosis.cx::odVZhQMP:7ca28" check-stamp
 ] unit-test
 
index 7dc0cd9af30f61e4bcadc38efa16807e1554cae4..ec80801a951f1c9e8e2f47159e278d63227383b7 100644 (file)
@@ -19,4 +19,3 @@ IN: hashtables.numbers.tests
 ] unit-test
 
 [ { { 1.0 1000 } } ] [ NH{ { 1.0 1000 } } >alist ] unit-test
-
index ec6780687d7e434bf0c11b1a71aff9a6d78f96e1..e45f3230d23c0b447671c732b84fa6dae1e9a79a 100644 (file)
@@ -14,4 +14,3 @@ IN: html.parser.utils.tests
 [ "Italy" ] [ "Italy" unquote ] unit-test
 [ "Italy" ] [ "'Italy'" unquote ] unit-test
 [ "Italy" ] [ "\"Italy\"" unquote ] unit-test
-
index b59c6737526db7d65e2e480167c00ddd0828c463..98e4e15bcf17d002040d602aa2e4f64c368483ae 100644 (file)
@@ -1,21 +1,21 @@
 ! Copyright (C) 2010 Jon Harper.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test images.viewer images.viewer.private kernel accessors sequences images
-namespaces ui ui.gadgets.debug math opengl.textures opengl.textures.private 
+namespaces ui ui.gadgets.debug math opengl.textures opengl.textures.private
 models ;
 IN: images.viewer.tests
 
 : (gen-image) ( dim -- bitmap )
     product 3 * [ 200 ] BV{ } replicate-as ;
 : gen-image ( dim -- image )
-    dup (gen-image) <image> swap >>bitmap swap >>dim 
+    dup (gen-image) <image> swap >>bitmap swap >>dim
     RGB >>component-order ubyte-components >>component-type ;
 
 [ ] [ { 50 50 } gen-image "s" set ] unit-test
 [ ] [ "s" get <image-gadget> "ig" set ] unit-test
 "ig" get [
    [ t ] [ "ig" get image-gadget-texture single-texture? ] unit-test
-] with-grafted-gadget 
+] with-grafted-gadget
 
 [ ] [ "s" get <model> "m" set ] unit-test
 [ ] [ { 150 150 } gen-image "s1" set ] unit-test
index fa598a4ac664e57b555466d59136c6f94253fbdc..95c0627e41b23f603d284834a20cb183b4199d79 100644 (file)
@@ -30,7 +30,7 @@ IN: infix.parser.tests
     { op "+" }
 } ] [ "1+2*3" build-infix-ast ] unit-test
 
-[ T{ ast-op 
+[ T{ ast-op
     { left T{ ast-number { value 1 } } }
     { right T{ ast-number { value 2 } } }
     { op "+" }
index 072ae6ec5eb91fbba9bf69cacef5150a6686f809..fefd3c80654f7c2a8620d7a60eb6a6dc35365622 100644 (file)
@@ -128,4 +128,3 @@ IN: ini-file.tests
     H{ { "key with \n esc\ape \r codes \""
          "value with \t esc\ape codes" } } ini>string
 ] unit-test
-
index 90d43a0a596aca80c2bb594148f603ba56b3d22c..ad3016a83be6b84d96b46f032425345269f135a2 100644 (file)
@@ -42,4 +42,3 @@ unit-test
 
 [ binary ] [ HEX{ 31 32 33 C2 A0 00 } detect-byte-array ] unit-test
 [ binary ] [ HEX{ 31 32 33 C2 A0 00 30 } detect-byte-array ] unit-test
-
index 9041c22f71705dc7bbb022827c31d2955f08e3f7..66a7300592ac4d91033b2b5fe178f8c8abc7df8e 100644 (file)
@@ -4,4 +4,4 @@ USING: alien.llvm io.pathnames llvm.invoker llvm.reader tools.test ;
 
 [ 3 ] [
     << "resource:extra/llvm/reader/add.bc" install-bc >> 1 2 add
-] unit-test
\ No newline at end of file
+] unit-test
index 5dc2b2c96f687b70dbbef9c84cc04af0687b6a0a..8dedc7eab6831b6fddbd270ef00ee7842af70cf6 100644 (file)
@@ -2,4 +2,4 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: destructors llvm.jit llvm.wrappers tools.test ;
 
-[ ] [ "test" <module> "test" add-module "test" remove-module ] unit-test
\ No newline at end of file
+[ ] [ "test" <module> "test" add-module "test" remove-module ] unit-test
index b9f3a7ad32c39a3a8670a9912e3994f5ecada9a2..86668d6824755cf37b0f2eb82d8a293a6ea7560a 100644 (file)
@@ -4,4 +4,4 @@ USING: destructors kernel llvm.wrappers sequences tools.test vocabs ;
 
 [ ] [ "test" <module> dispose ] unit-test
 [ ] [ "test" <module> <provider> dispose ] unit-test
-[ ] [ "llvm.jit" vocabs member? [ "test" <module> <provider> <engine> dispose ] unless ] unit-test
\ No newline at end of file
+[ ] [ "llvm.jit" vocabs member? [ "test" <module> <provider> <engine> dispose ] unless ] unit-test
index 65c38f91f590f9b42b9a480e5f9323c4763e87c6..a8c5e1d0f2b457f73205a1573c238bdcc59731b2 100644 (file)
@@ -13,4 +13,3 @@ IN: machine-learning.label-binarizer.tests
     <label-binarizer> { 1 2 6 4 2 } over fit-y
     { 1 6 } over transform-y swap inverse-transform-y
 ] unit-test
-
index b3f58b31a122a2e18ed339af34d97981327dda1b..aedbd7135eaf4c6c7a87eb19e258fe56ab930a64 100644 (file)
@@ -8,7 +8,7 @@ IN: mason.platform.tests
     linux target-os set
     x86.32 target-cpu set
     f target-variant set
-    
+
     [ "linux-x86-32" ] [ platform ] unit-test
 ] with-scope
 
index 76d0e0ed196332616aa6d8f0366299abd7639469..63c14df5476a824d1ea8bb9d1b75b763cffa9921 100644 (file)
@@ -12,7 +12,7 @@ IN: mason.release.tidy.tests
             "Factor.app" useless-files member?
         ] with-variable
     ] unit-test
-    
+
     [ t ] [
         linux target-os [
             "Factor.app" useless-files member?
index 09f1e13ae9cbf51412f079e841cfae63de97b595..9a0185ee7ff487f2eca1a600db4326150dc4ba2c 100644 (file)
@@ -1,3 +1,2 @@
 IN: mason.release.upload.tests
 USING: mason.release.upload tools.test ;
-
index 4475eeacd207f248e3ba3e59cf32971c45fa409c..b02c3a53ba50da96b820e5954de87519b852716e 100644 (file)
@@ -31,4 +31,3 @@ CONSTANT: eps .00000001
 [ t ] [ 3 gammaln 0.6931471805599456 eps ~ ] unit-test
 [ t ] [ 11 gammaln 15.10441257307984 eps ~ ] unit-test
 [ t ] [ 9000000000000000000000000000000000000000000 gammaln 8.811521863477754e44 eps ~ ] unit-test
-
index cf0c25745edca30dbd05c673f41fda43a1411f9e..fa3a9bd328ba21ae212ef8559c8404c68888fb01 100644 (file)
@@ -90,7 +90,7 @@ IN: math.blas.matrices.tests
     }
     svector{ 1.0 2.0 3.0 1.0 }
     M.V
-] unit-test 
+] unit-test
 [ svector{ -2.0 1.0 3.0 14.0 } ] [
     smatrix{
         {  0.0 1.0 0.0 1.0 }
@@ -99,7 +99,7 @@ IN: math.blas.matrices.tests
     } Mtranspose
     svector{ 1.0 2.0 3.0 }
     M.V
-] unit-test 
+] unit-test
 
 [ dvector{ 3.0 1.0 6.0 } ] [
     dmatrix{
@@ -109,7 +109,7 @@ IN: math.blas.matrices.tests
     }
     dvector{ 1.0 2.0 3.0 1.0 }
     M.V
-] unit-test 
+] unit-test
 [ dvector{ -2.0 1.0 3.0 14.0 } ] [
     dmatrix{
         {  0.0 1.0 0.0 1.0 }
@@ -118,7 +118,7 @@ IN: math.blas.matrices.tests
     } Mtranspose
     dvector{ 1.0 2.0 3.0 }
     M.V
-] unit-test 
+] unit-test
 
 [ cvector{ 3.0 C{ 1.0 2.0 } 6.0 } ] [
     cmatrix{
@@ -128,7 +128,7 @@ IN: math.blas.matrices.tests
     }
     cvector{ 1.0 2.0 3.0 1.0 }
     M.V
-] unit-test 
+] unit-test
 [ cvector{ -2.0 C{ 1.0 2.0 } 3.0 14.0 } ] [
     cmatrix{
         {  0.0 1.0          0.0 1.0 }
@@ -137,7 +137,7 @@ IN: math.blas.matrices.tests
     } Mtranspose
     cvector{ 1.0 2.0 3.0 }
     M.V
-] unit-test 
+] unit-test
 
 [ zvector{ 3.0 C{ 1.0 2.0 } 6.0 } ] [
     zmatrix{
@@ -156,7 +156,7 @@ IN: math.blas.matrices.tests
     } Mtranspose
     zvector{ 1.0 2.0 3.0 }
     M.V
-] unit-test 
+] unit-test
 
 ! V(*)
 
@@ -707,4 +707,3 @@ IN: math.blas.matrices.tests
         { 2.0 3.0 0.0          1.0 0.0 }
     } Mtranspose 2 1 3 2 Msub
 ] unit-test
-
index dbafe74d6a7853adbe4486809d9a775448ff8255..dc47e68c55077a0f0a60221b499e0118ba2120bc 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2009 Jason W. Merrill.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test math.dual kernel accessors math math.functions 
+USING: tools.test math.dual kernel accessors math math.functions
     math.constants ;
 IN: math.dual.tests
 
@@ -13,4 +13,4 @@ IN: math.dual.tests
 [ 2 ] [ 1 1 <dual> 2 d^ epsilon-part>> ] unit-test
 [ 2.0 .25 ] [ 4 1 <dual> dsqrt unpack-dual ] unit-test
 [ 2 -1 ] [ -2 1 <dual> dabs unpack-dual ] unit-test
-[ -2 -1 ] [ 2 1 <dual> dneg unpack-dual ] unit-test
\ No newline at end of file
+[ -2 -1 ] [ 2 1 <dual> dneg unpack-dual ] unit-test
index 0bf09633a4db03e100837030f97e0e17adc5a3db..b7b95992b2b5af6a0d689a7e22000116aa6bf8d2 100644 (file)
@@ -28,4 +28,3 @@ IN: math.floating-point.tests
 { 1 12 123 1234 } [ bits>double roundtrip ] each
 
 100 [ -10.0 10.0 uniform-random-float roundtrip ] times
-
index a3a68b350b7d8973f47f4c622c53c05981b35264..611fb991a21e5958adadf2c313990d721aa3252e 100644 (file)
@@ -6,7 +6,7 @@ FROM: math.matrices => m~ ;
 SPECIALIZED-ARRAY: float-4
 IN: math.matrices.simd.tests
 
-[ 
+[
     S{ matrix4 f
         float-4-array{
             float-4{ 3.0 0.0 0.0 0.0 }
@@ -17,7 +17,7 @@ IN: math.matrices.simd.tests
     }
 ] [ float-4{ 3.0 4.0 2.0 0.0 } scale-matrix4 ] unit-test
 
-[ 
+[
     S{ matrix4 f
         float-4-array{
             float-4{ 1/8. 0.0  0.0  0.0 }
@@ -28,7 +28,7 @@ IN: math.matrices.simd.tests
     }
 ] [ float-4{ 8.0 4.0 2.0 0.0 } ortho-matrix4 ] unit-test
 
-[ 
+[
     S{ matrix4 f
         float-4-array{
             float-4{ 0.0 0.0 -1.0 0.0 }
@@ -48,7 +48,7 @@ IN: math.matrices.simd.tests
     } transpose-matrix4
 ] unit-test
 
-[ 
+[
     S{ matrix4 f
         float-4-array{
             float-4{ 1.0 0.0 0.0 0.0 }
@@ -69,7 +69,7 @@ IN: math.matrices.simd.tests
             float-4{  0.0  0.0  0.0 1.0 }
         }
     }
-    1.0e-7 m~ 
+    1.0e-7 m~
 ] unit-test
 
 [ t ] [
@@ -82,7 +82,7 @@ IN: math.matrices.simd.tests
             float-4{  0.0  0.0  0.0 1.0 }
         }
     }
-    1.0e-7 m~ 
+    1.0e-7 m~
 ] unit-test
 
 [
@@ -203,7 +203,7 @@ IN: math.matrices.simd.tests
         }
     }
 ] [
-    3.0 
+    3.0
     S{ matrix4 f
         float-4-array{
             float-4{ 1.0 0.0 0.0 5.0 }
@@ -262,7 +262,7 @@ IN: math.matrices.simd.tests
             float-4{ 0.0  0.0  0.0  1.0 }
         }
     }
-    1.0e-7 m~ 
+    1.0e-7 m~
 ] unit-test
 
 [ t ] [
@@ -275,5 +275,5 @@ IN: math.matrices.simd.tests
             float-4{ 0.0            0.0 0.0                1.0 }
         }
     }
-    1.0e-7 m~ 
+    1.0e-7 m~
 ] unit-test
index c5b92c73de1f8ab8d3bea11c5a23652613380ba2..d5f98de7c8380ca259b5011b8341106d3a2239f9 100644 (file)
@@ -7,4 +7,3 @@ IN: math.numerical-integration.tests
 [ t ] [ 0 pi 2 / [ sin ] integrate-simpson 1 .000000001 ~abs ] unit-test
 [ t ] [ 0 pi [ sin ] integrate-simpson 2 .00000001 ~abs ] unit-test
 [ t ] [  0 pi 2 * [ sin ] integrate-simpson 0 .00000000001 ~abs ] unit-test
-
index fd2ab90c0da8497e290298dbdad4b60121a447ed..a88739ec5588be93662547b5c1cad4e984440491 100644 (file)
@@ -3,4 +3,3 @@ IN: math.transforms.haar.tests
 
 [ { 3 2 -1 -2 3 0 4 1 } ] [ { 7 1 6 6 3 -5 4 2 } haar ] unit-test
 [ { 7 1 6 6 3 -5 4 2 } ] [ { 3 2 -1 -2 3 0 4 1 } rev-haar ] unit-test
-
index 120d560177f98abda1d620c201f956dea34d5a00..c6f6cc8c962affdc01c4c41df3f087340385dba2 100644 (file)
@@ -105,7 +105,3 @@ PRIVATE>
 [ { "5" "valuex" } ] [
     [ x y z 3array m/getseq values natural-sort ] with-memcached
 ] unit-test
-
-
-
-
index 4bb9cc20b33a8a35b38ac26727dc2272b958115b..ed40dad9b6e0dce9003fe9d128722c30766f3430 100644 (file)
@@ -44,4 +44,3 @@ IN: memory.piles.tests
         dup 76 pile-alloc drop
     ] with-destructors
 ] [ not-enough-pile-space? ] must-fail-with
-
index e1a18fa69f96f0951350335a51d1af4bcad90aac..322dafcc61772dabc2c5a5425bc5e212b9d9e8c9 100644 (file)
@@ -10,4 +10,4 @@ BEFORE: array testing over prefix "a" set ;
 [ V{ 3 2 1 } ] [ 3 V{ 1 2 3 } testing ] unit-test
 [ "heyyeh" ] [ 4 "yeh" testing ] unit-test
 [ { 4 2 0 } ] [ 5 { 0 2 4 } testing ] unit-test
-[ { 5 0 2 4 } ] [ "a" get ] unit-test
\ No newline at end of file
+[ { 5 0 2 4 } ] [ "a" get ] unit-test
index 4ad422bb20ea04b2687b670480ace2538629f7a8..8188b448d37344890eb9c138d85b9d34aa3b4fd1 100644 (file)
@@ -34,4 +34,3 @@ f <history> "history" set
 
 [ f ] [ "history" get back>> empty? ] unit-test
 [ t ] [ "history" get forward>> empty? ] unit-test
-
index f1da7ce13962187edbe6c8e67164f27074a7832c..2dad7f997cad7395ec1b417462b8126c2fab0380 100644 (file)
@@ -22,8 +22,8 @@ IN: morse.tests
 
 [ "morse code 123" ] [
     [MORSE
-        __ ___ ._. ... . / 
-        _._. ___ _.. . / 
+        __ ___ ._. ... . /
+        _._. ___ _.. . /
         .____ ..___ ...__
     MORSE] ] unit-test
 
@@ -31,12 +31,12 @@ IN: morse.tests
       -- --- .-. ... . /
       -.-. --- -.. .
   MORSE] ] [
-    "morse code" >morse morse> 
+    "morse code" >morse morse>
 ] unit-test
 
 [ "factor rocks!" ] [
     [MORSE
-      ..-. .- -.-. - --- .-. / 
+      ..-. .- -.-. - --- .-. /
       .-. --- -.-. -.- ... -.-.--
     MORSE] ] unit-test
 ! [ ] [ "sos" 0.075 play-as-morse* ] unit-test
index 57c2c775b02570b923dc1f234e0b56d4f96bca19..48435512fd97d18d4d484807e1cc5e142d8186cc 100644 (file)
@@ -7,4 +7,4 @@ io.files.temp kernel ;
     "resource:extra/msxml-to-csv/test.xml" msxml>csv
     "test.csv" temp-file utf8 file>csv
     "resource:extra/msxml-to-csv/test.csv" utf8 file>csv =
-] unit-test
\ No newline at end of file
+] unit-test
index a1baf084ac54a93110eca7e6d603c5a16abff9f8..655293b82e990d8b6885cdc693fea9db896a2d54 100644 (file)
@@ -25,16 +25,16 @@ ERROR: cl-error err ;
 
 :: cl-string-array ( str -- alien )
     str ascii encode 0 suffix :> str-buffer
-    str-buffer length malloc &free :> str-alien 
+    str-buffer length malloc &free :> str-alien
     str-alien str-buffer dup length memcpy str-alien ;
-    
+
 :: opencl-square ( in -- out )
     0 f 0 uint <ref> [ clGetPlatformIDs cl-success ] keep uint deref
     dup void* <c-array> [ f clGetPlatformIDs cl-success ] keep first
     CL_DEVICE_TYPE_DEFAULT 1 f void* <ref> [ f clGetDeviceIDs cl-success ] keep void* deref :> device-id
     f 1 device-id void* <ref> f f 0 int <ref> [ clCreateContext ] keep int deref cl-success   :> context
     context device-id 0 0 int <ref> [ clCreateCommandQueue ] keep int deref cl-success    :> queue
+
     [
         context 1 kernel-source cl-string-array void* <ref>
         f 0 int <ref> [ clCreateProgramWithSource ] keep int deref cl-success
@@ -45,7 +45,7 @@ ERROR: cl-error err ;
 
     context CL_MEM_READ_ONLY in byte-length f
     0 int <ref> [ clCreateBuffer ] keep int deref cl-success :> input
-    
+
     context CL_MEM_WRITE_ONLY in byte-length f
     0 int <ref> [ clCreateBuffer ] keep int deref cl-success :> output
 
@@ -54,10 +54,10 @@ ERROR: cl-error err ;
     kernel 0 cl_mem heap-size input void* <ref> clSetKernelArg cl-success
     kernel 1 cl_mem heap-size output void* <ref> clSetKernelArg cl-success
     kernel 2 uint heap-size in length uint <ref> clSetKernelArg cl-success
+
     queue kernel 1 f in length ulonglong <ref> f
     0 f f clEnqueueNDRangeKernel cl-success
+
     queue clFinish cl-success
 
     queue output CL_TRUE 0 in byte-length in length float <c-array>
index a8104625a9f7481d908b3bb458ee98809098b6dc..90a40f9befd7017fe78411a6ed180e7f823e73f9 100644 (file)
@@ -6,7 +6,7 @@ accessors arrays destructors kernel namespaces alien.data ;
 FROM: alien.c-types => float ;
 SPECIALIZED-ARRAY: float
 IN: opencl.tests
-    
+
 STRING: kernel-source
 __kernel void square(
     __global float* input,
index 062277ec4d6f2b42dff2ae3d466397d97fa71cd3..cf6a731f53be8df7fe852af25e53eaa4c55159ad 100644 (file)
@@ -44,11 +44,11 @@ IN: parser-combinators.tests
 
 ! Testing sp
 { { } } [
-  "  abcd" "a" token parse list>array 
+  "  abcd" "a" token parse list>array
 ] unit-test
 
 { { T{ parse-result f "a" T{ slice f 3 6 "  abcd" } } }  } [
-  "  abcd" "a" token sp parse list>array 
+  "  abcd" "a" token sp parse list>array
 ] unit-test
 
 ! Testing just
@@ -58,15 +58,15 @@ IN: parser-combinators.tests
 
 { { T{ parse-result f "abcd" T{ slice f 4 4 "abcd" } } } } [
   "abcd" "abcd" token "abc" token <|> just parse list>array
-] unit-test 
+] unit-test
 
 ! Testing <@
 { { T{ parse-result f 48 T{ slice f 1 5 "01234" } } } } [
-  "01234" [ digit? ] satisfy parse list>array 
+  "01234" [ digit? ] satisfy parse list>array
 ] unit-test
 
 { { T{ parse-result f 0 T{ slice f 1 5 "01234" } } } } [
-  "01234" [ digit? ] satisfy [ digit> ] <@ parse list>array 
+  "01234" [ digit? ] satisfy [ digit> ] <@ parse list>array
 ] unit-test
 
 ! Testing some
@@ -75,11 +75,11 @@ IN: parser-combinators.tests
 ] unit-test
 
 [
-  "begin1" "begin" token some parse 
-] must-fail 
+  "begin1" "begin" token some parse
+] must-fail
 
 { "begin" } [
-  "begin" "begin" token some parse 
+  "begin" "begin" token some parse
 ] unit-test
 
 ! <& parser and &> parser
@@ -100,7 +100,7 @@ IN: parser-combinators.tests
   "1234" "1" token <*> parse list>array
 ] unit-test
 
-{ 
+{
   {
     T{ parse-result f { "1" "1" "1" "1" } T{ slice f 4 7 "1111234" }  }
     T{ parse-result f { "1" "1" "1" } T{ slice f 3 7 "1111234" } }
@@ -113,7 +113,7 @@ IN: parser-combinators.tests
   "1111234" "1" token <*> parse list>array
 ] unit-test
 
-{ 
+{
   {
     T{ parse-result f { "1111" } T{ slice f 4 7 "1111234" } }
     T{ parse-result f { "111" } T{ slice f 3 7 "1111234" } }
@@ -134,7 +134,7 @@ IN: parser-combinators.tests
   "1234" "1" token <+> parse list>array
 ] unit-test
 
-{ 
+{
   {
     T{ parse-result f { "1" "1" "1" "1" } T{ slice f 4 7 "1111234" } }
     T{ parse-result f { "1" "1" "1" }  T{ slice f 3 7 "1111234" } }
index fb7f00f62912d0a69591202e782ba2fbc5e98f47..7db51c36de9d2d0a7f6334a862ffedd42aa3a67a 100644 (file)
@@ -5,12 +5,12 @@ IN: partial-continuations.tests
 SYMBOL: sum
 
 : range ( r from to -- n )
-    over - 1 + rot [ 
+    over - 1 + rot [
         '[ over + @ drop ] each-integer drop f
     ] bshift 2nip ; inline
 
 [ 55 ] [
-    0 sum set 
+    0 sum set
     [ 1 10 range sum get + sum set f ] breset drop
     sum get
 ] unit-test
index c81a3b9d7a573fbb0cc06bb653bca95b59f79736..c8a79fd0a69f5ad40344c14166a58b472151f45d 100644 (file)
@@ -147,4 +147,3 @@ MEMO: costs ( -- costs )
         { 4 H{ } }
     } <dijkstra> find-path
 ] unit-test
-
index 6c4fb372f98b4424e524ba31a3ced4f1e746a8ca..3d4023e46a2d820947904c2f29a5cdb4db22f9b2 100644 (file)
@@ -4,4 +4,3 @@
 USING: pdf tools.test ;
 
 IN: pdf.tests
-
index 605ed8743f9acf6c2897b6db1a20bff6f70f9e4a..b42c3de56b055d1870cd9e80116bc50ebdf5cab4 100644 (file)
@@ -13,4 +13,3 @@ IN: pdf.units.tests
 
 [ 72.0 ] [ "1in" string>points ] unit-test
 [ 108.0 ] [ "1.5in" string>points ] unit-test
-
index 59c70cd3580406e557aa9f501e72c1cc634f792c..446e5ef9ce7ca541437b6afa451aabad2105539d 100644 (file)
@@ -5,21 +5,21 @@ USING: kernel tools.test peg peg.expr multiline sequences ;
 IN: peg.expr.tests
 
 { 5 } [
-  "2+3" expr 
+  "2+3" expr
 ] unit-test
 
 { 6 } [
-  "2*3" expr 
+  "2*3" expr
 ] unit-test
 
 { 14 } [
-  "2+3*4" expr 
+  "2+3*4" expr
 ] unit-test
 
 { 17 } [
-  "2+3*4+3" expr 
+  "2+3*4+3" expr
 ] unit-test
 
 { 23 } [
-  "2+3*(4+3)" expr 
+  "2+3*(4+3)" expr
 ] unit-test
index 69223a418d47aeab72b313e636bfc1cb50037d96..ce5827ab13ad3edfa02991e820f31322ae365de7 100644 (file)
@@ -6,4 +6,4 @@ IN: peg.javascript.tests
 
 { T{ ast-begin f V{ T{ ast-number f 123 } } } } [
   "123;" parse-javascript
-] unit-test
\ No newline at end of file
+] unit-test
index 87db981f40d70f83d6e7ccd45f92f94d24cfeb4a..ecda0a1510a9e2aafb1cb222a1e5c1e3e0fb4b6f 100644 (file)
@@ -24,7 +24,7 @@ IN: peg.javascript.parser.tests
   "123; 'hello'; foo(x);" javascript
 ] unit-test
 
-{ t } [ 
+{ t } [
 """
 var x=5
 var y=10
@@ -32,7 +32,7 @@ var y=10
 ] unit-test
 
 
-{ t } [ 
+{ t } [
 """
 function foldl(f, initial, seq) {
    for(var i=0; i< seq.length; ++i)
@@ -41,7 +41,7 @@ function foldl(f, initial, seq) {
 }""" main \ javascript rule (parse) remaining>> length zero?
 ] unit-test
 
-{ t } [ 
+{ t } [
 """
 ParseState.prototype.from = function(index) {
     var r = new ParseState(this.input, this.index + index);
@@ -50,4 +50,3 @@ ParseState.prototype.from = function(index) {
     return r;
 }""" main \ javascript rule (parse) remaining>> length zero?
 ] unit-test
-
index 0fbd55ccfdfe6e17e683f4ba988aa891d798981f..9d5a9fb2f702425fbe2d950e0a68a8a1d423c7d6 100644 (file)
@@ -15,11 +15,11 @@ IN: peg.javascript.tokenizer.tests
     T{ ast-name f "x" }
     ")"
     ";"
-  }    
+  }
 } [
   "123; 'hello'; foo(x);" tokenize-javascript
 ] unit-test
 
 { V{ T{ ast-regexp f "<(w+)[^>]*?)/>" "g" } } } [
   "/<(\\w+)[^>]*?)\\/>/g" tokenize-javascript
-] unit-test
\ No newline at end of file
+] unit-test
index 2d76c8df71469c045b5d038613b485f7299dbfa1..c999a6dfb819ba7273c360c5e912968ebd5b30f5 100644 (file)
@@ -6,7 +6,7 @@ USING: kernel tools.test peg peg.ebnf peg.ebnf.private peg.pl0
 IN: peg.pl0.tests
 
 { t } [
-  "CONST foo = 1;" "block" \ pl0 rule (parse) remaining>> empty? 
+  "CONST foo = 1;" "block" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
@@ -14,31 +14,31 @@ IN: peg.pl0.tests
 ] unit-test
 
 { t } [
-  "VAR foo,bar , baz;" "block" \ pl0 rule (parse) remaining>> empty? 
+  "VAR foo,bar , baz;" "block" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "foo := 5" "statement" \ pl0 rule (parse) remaining>> empty? 
+  "foo := 5" "statement" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "BEGIN foo := 5 END" "statement" \ pl0 rule (parse) remaining>> empty? 
+  "BEGIN foo := 5 END" "statement" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "IF 1=1 THEN foo := 5" "statement" \ pl0 rule (parse) remaining>> empty? 
+  "IF 1=1 THEN foo := 5" "statement" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "WHILE 1=1 DO foo := 5" "statement" \ pl0 rule (parse) remaining>> empty? 
+  "WHILE 1=1 DO foo := 5" "statement" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "WHILE ODD 1 DO foo := 5" "statement" \ pl0 rule (parse) remaining>> empty? 
+  "WHILE ODD 1 DO foo := 5" "statement" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
-  "PROCEDURE square; BEGIN squ:=x*x END" "block" \ pl0 rule (parse) remaining>> empty? 
+  "PROCEDURE square; BEGIN squ:=x*x END" "block" \ pl0 rule (parse) remaining>> empty?
 ] unit-test
 
 { t } [
index 5c4cc6e54dd48d579f738468fba5ee2f351bd1c6..cc83da90f1d3a358e728c57538ce3c084d9864b8 100644 (file)
@@ -12,4 +12,4 @@ test-ping? [
     [ t ] [ "localhost" alive? ] unit-test
     [ t ] [ "127.0.0.1" alive? ] unit-test
     [ f ] [ "0.0.0.0" alive? ] unit-test
-] when
\ No newline at end of file
+] when
index f44a7b9df44f305de01d61e4bfee30bb281e819f..2846f2267df40f585dcd1e630c84be27021dcf20 100644 (file)
@@ -27,7 +27,7 @@ IN: quadtrees.tests
     T{ quadtree f T{ rect f {  0.0 -1.0 } { 1.0 1.0 } } {  0.0  -0.25 } "a" f f f f t }
     T{ quadtree f T{ rect f { -1.0  0.0 } { 1.0 1.0 } } f               f   f f f f t }
     T{ quadtree f T{ rect f {  0.0  0.0 } { 1.0 1.0 } } {  0.25  0.25 } "b" f f f f t }
-    f 
+    f
 } ] [
     unit-bounds <quadtree>
         "a" {  0.0  -0.25 } value>>key
index 95c2fe11388445a65b8e4cac070e2f5cec819931..67e7f8d991c4b8e9217214688011e5d35c9aeeac 100644 (file)
@@ -43,17 +43,17 @@ ROLE: bong bowl ;
 SYMBOL: spong
 
 [ [ spong { spoon bong } { } define-tuple-class-with-roles ] with-compilation-unit ]
-[ role-slot-overlap? ] must-fail-with 
+[ role-slot-overlap? ] must-fail-with
 
 [ [ spong { spoon bong } { } define-role ] with-compilation-unit ]
-[ role-slot-overlap? ] must-fail-with 
+[ role-slot-overlap? ] must-fail-with
 
 ! can't try to inherit multiple tuple classes
 TUPLE: tool blade ;
 SYMBOL: knife
 
 [ knife { utensil tool } { } define-tuple-class-with-roles ]
-[ multiple-inheritance-attempted? ] must-fail-with 
+[ multiple-inheritance-attempted? ] must-fail-with
 
 ! make sure method dispatch works
 GENERIC: poke ( pokee poker -- result )
index 08feb197c40a4e6967b75a3b4dd5485ff9180966..8e2009a1eb9b6c97a84d8689851b9afff016ea52 100644 (file)
@@ -4,4 +4,3 @@ IN: rosetta-code.y-combinator
 [ 120 ] [ 5 [ almost-fac ] Y call ] unit-test
 [ 8 ]   [ 6 [ almost-fib ] Y call ] unit-test
 [ 61 ]  [ 3 3 [ almost-ack ] Y call ] unit-test
-
index c24d5cb2444868a2e3fcc0ba20009aaba6a7e616..2fd91ed2d027d6a6a922a7a5997a2823fd2d0a22 100644 (file)
@@ -1,4 +1,4 @@
 IN: rpn.tests
 USING: rpn lists tools.test ;
 
-[ { 2 } ] [ "4 2 -" rpn-parse rpn-eval list>array ] unit-test
\ No newline at end of file
+[ { 2 } ] [ "4 2 -" rpn-parse rpn-eval list>array ] unit-test
index 3b6220bd18de356b1de877dafaffd43a17cfc8a4..a49f3cce42045628868e169f5753e88b3fd833d5 100644 (file)
@@ -42,4 +42,3 @@ IN: sequences.inserters.tests
     { { "Th" "ree" } { "Fo" "ur" } { "Fi" "ve" } }
     [ append ] V{ 1 2 } clone [ <replacer> assoc>map ] keep eq?
 ] unit-test
-
index eed5540cb39490151cf9c09ab281408c958a923d..03aeb5fbd27eca6dfe15789de9385c7df7f1a74a 100644 (file)
@@ -20,11 +20,11 @@ IN: sequences.n-based.tests
     } clone 1 <n-based-assoc> ; inline
 
 [ "December" t ]
-[ 12 months at* ] unit-test 
+[ 12 months at* ] unit-test
 [ f f ]
-[ 13 months at* ] unit-test 
+[ 13 months at* ] unit-test
 [ f f ]
-[ 0 months at* ] unit-test 
+[ 0 months at* ] unit-test
 
 [ 12 ] [ months assoc-size ] unit-test
 
@@ -60,5 +60,3 @@ IN: sequences.n-based.tests
 } ] [ "Smarch" 13 months [ set-at ] keep seq>> ] unit-test
 
 [ V{ } ] [ months [ clear-assoc ] keep seq>> ] unit-test
-
-
index 6697ea7c92a05f06a397893db424909e961f57dc..c0e02c83b2f1edd1d04fafdf05803e81a994900c 100644 (file)
@@ -3,6 +3,6 @@ USING: kernel sequences sequences.squish tools.test vectors ;
 IN: sequences.squish.tests
 
 [ { { 1 2 3 } { 4 } { 5 6 } } ] [
-    V{ { 1 2 3 } V{ { 4 } { 5 6 } } }  
+    V{ { 1 2 3 } V{ { 4 } { 5 6 } } }
     [ vector? ] { } squish
 ] unit-test
index 082aa77f5d22a31184804c11a21a9098dcd82915..46ca59d8a5c1019ab895185a6ab445a1946cb829 100644 (file)
@@ -72,4 +72,3 @@ TUPLE: foo a b c ;
     T{ foo { a 1 } { b 2 } { c 3 } } clone
     [ { "b" "a" "c" } {set-slots} ] keep
 ] unit-test
-
index afbeea61108daac1f2af7943404ffef7e0593afa..181bdef62dff44b2946d04effeff6e247e5ce22e 100644 (file)
@@ -84,4 +84,4 @@ IN: smalltalk.compiler.tests
        { }
        { { T{ ast-block { body { "a" } } } } }
     } test-compilation call first call
-] unit-test
\ No newline at end of file
+] unit-test
index e6b648c3e4d3e7d234e03806a00e21ce74617a89..31fd3a77b27dd3f09b4037c1afdfe4c4808c7003 100644 (file)
@@ -21,4 +21,4 @@ lexenv set
 [ [ fake-local ] ] [ "jumble" lexenv get lookup-writer ] unit-test
 [ [ fake-self y<< ] ] [ "y" lexenv get lookup-writer ] unit-test
 
-[ "blahblah" lexenv get lookup-writer ] must-fail
\ No newline at end of file
+[ "blahblah" lexenv get lookup-writer ] must-fail
index 15a3406ffc9007bc5f07d73f175362a2a6ce0c12..fc12af705f96cb9c7aeb55d6823a8b3348843adf 100644 (file)
@@ -1,3 +1,3 @@
 USING: smalltalk.parser smalltalk.compiler.return tools.test ;
 
-[ t ] [ "(i <= 1) ifTrue: [^1] ifFalse: [^((Fib new i:(i-1)) compute + (Fib new i:(i-2)) compute)]" parse-smalltalk need-return-continuation? ] unit-test
\ No newline at end of file
+[ t ] [ "(i <= 1) ifTrue: [^1] ifFalse: [^((Fib new i:(i-1)) compute + (Fib new i:(i-2)) compute)]" parse-smalltalk need-return-continuation? ] unit-test
index 95366d65b918d79f42ab42098dc5e8482f701d63..0fb05747a040a961b0f68c2ed1b7cecb3ca5d35d 100644 (file)
@@ -8,4 +8,4 @@ USING: smalltalk.eval tools.test io.streams.string kernel ;
 [ 5 ] [ "|x| x:=5. x" eval-smalltalk ] unit-test
 [ 11 ] [ "[:i| |x| x:=5. i+x] value: 6" eval-smalltalk ] unit-test
 [ t ] [ "class Blah [method foo [5]]. Blah new foo" eval-smalltalk tuple? ] unit-test
-[ 196418 ] [ "vocab:smalltalk/eval/fib.st" eval-smalltalk-file ] unit-test
\ No newline at end of file
+[ 196418 ] [ "vocab:smalltalk/eval/fib.st" eval-smalltalk-file ] unit-test
index 932fda7810be8028081d03d7044d4d004d907ed4..0921b96127924946c4677d3098a9d03d5c48aea6 100644 (file)
@@ -297,4 +297,4 @@ test         = <foreign parse-smalltalk LocalVariableDeclarationList>
 
 [ ] [ "class Foo []. Tests blah " parse-smalltalk drop ] unit-test
 
-[ ] [ "vocab:smalltalk/parser/test.st" ascii file-contents parse-smalltalk drop ] unit-test
\ No newline at end of file
+[ ] [ "vocab:smalltalk/parser/test.st" ascii file-contents parse-smalltalk drop ] unit-test
index e9f4bd9451f1f1ef53c28b0b0c96f7d4cbc26e31..6d87add9e244b7326a5cd5b03735649e1829a2b5 100644 (file)
@@ -1,4 +1,4 @@
 IN: smalltalk.printer.tests
 USING: smalltalk.printer tools.test ;
 
-[ "#((1 2) 'hi')" ] [ { { 1 2 } "hi" } smalltalk>string ] unit-test
\ No newline at end of file
+[ "#((1 2) 'hi')" ] [ { { 1 2 } "hi" } smalltalk>string ] unit-test
index 30b956b7d4869f375f0043ff2918bde011d226cd..34a90fbee569847b59ff4fe8c41a551233aeaf3b 100644 (file)
@@ -4,4 +4,3 @@ IN: sorting.bubble
 { { } } [ { } dup natural-bubble-sort! ] unit-test
 { { 1 } } [ { 1 } dup natural-bubble-sort! ] unit-test
 { { 1 2 3 4 5 } } [ { 1 4 2 5 3 } dup natural-bubble-sort! ] unit-test
-
index b18555e56cb3233ee198cc2cc5945915323b4da9..d4b9c20e9f493c3ea62efcff8add8cac6deaae8a 100644 (file)
@@ -31,4 +31,3 @@ IN: sorting.extras
     10 iota >array randomize
     [ swap insort-right! ] each
 ] unit-test
-
index 9e6f130db583daa0e91c7aaa2fe1c63ff13a70e2..da88b3a650cda4404bf338c95c01803a95410aa4 100644 (file)
@@ -11,4 +11,3 @@ IN: sorting.heap
     { "fred" "wilma" "pebbles" "dino" "barney" "betty" "bamm-bamm" }
     [ length ] heapsort-with
 ] unit-test
-
index b90346f687dd72697f709d8abd132cbf6ad3f18d..32d2b5b7987802bffcaa88956e2a0daaf30d4d9d 100644 (file)
@@ -55,6 +55,6 @@ At the left we can see..."""
 
 2
 00:00:15,000 --> 00:00:18,000  X1:53 X2:303 Y1:438 Y2:453
-<font color="cyan">At the left we can see...</font>""" 
+<font color="cyan">At the left we can see...</font>"""
     parse-srt-string
 ] unit-test
index 92a431adefd9697fc0cfbd41fedd65682729bb83..2634f37d05f9a0c6db8f5d432fec1244c43c8cc4 100644 (file)
@@ -41,7 +41,7 @@ IN: svg.tests
     "rotate(30)" svg-transform>affine-transform
     { $[ 0.75 sqrt ] 0.5            }
     { -0.5           $[ 0.75 sqrt ] }
-    {  0.0           0.0            } <affine-transform> 
+    {  0.0           0.0            } <affine-transform>
     0.001 a~
 ] unit-test
 
index e505691c3a384010d4e9a19897cc820ce496a318..381298ca2ff54d94569394e3b66dd0efe3ed97dd 100644 (file)
@@ -14,4 +14,3 @@ FROM: tetris.game => level>> ;
 [ 4800 ] [ 3 4 rows-score ] unit-test
 [ 1 ] [ <default-tetris> dup 3 score-rows dup 3 score-rows dup 3 score-rows level>> ] unit-test
 [ 2 ] [ <default-tetris> dup 4 score-rows dup 4 score-rows dup 2 score-rows level>> ] unit-test
-
index 5ba25b9568b2a71af383420506efaebad9bff712..0212cc6cd32e8298e5386380946aa85eb19ab06b 100644 (file)
@@ -32,7 +32,7 @@ IN: trees.avl.tests
 
 [ "key1" -1 "key2" 0 "key3" 0 ]
 [ T{ avl-node f "key1" f f
-        T{ avl-node f "key2" f 
+        T{ avl-node f "key2" f
             T{ avl-node f "key3" f f f 1 } f -1 } 2 }
     [ double-rotate ] go-left
     [ left>> dup key>> swap balance>> ] keep
@@ -41,7 +41,7 @@ IN: trees.avl.tests
 [ "key1" 0 "key2" 0 "key3" 0 ]
 [ T{ avl-node f "key1" f f
         T{ avl-node f "key2" f
-            T{ avl-node f "key3" f f f 0 } f -1 } 2 } 
+            T{ avl-node f "key3" f f f 0 } f -1 } 2 }
     [ double-rotate ] go-left
     [ left>> dup key>> swap balance>> ] keep
     [ right>> dup key>> swap balance>> ] keep
@@ -49,7 +49,7 @@ IN: trees.avl.tests
 [ "key1" 0 "key2" 1 "key3" 0 ]
 [ T{ avl-node f "key1" f f
         T{ avl-node f "key2" f
-            T{ avl-node f "key3" f f f -1 } f -1 } 2 } 
+            T{ avl-node f "key3" f f f -1 } f -1 } 2 }
     [ double-rotate ] go-left
     [ left>> dup key>> swap balance>> ] keep
     [ right>> dup key>> swap balance>> ] keep
@@ -95,8 +95,8 @@ IN: trees.avl.tests
     AVL{
         { 7 "seven" }
         { 9 "nine" }
-        { 4 "four" } 
-        { 4 "replaced four" } 
+        { 4 "four" }
+        { 4 "replaced four" }
         { 7 "replaced seven" }
     } clone ;
 
index d5211ce77e7b26fba80c89a7293e2059e8e7f8da..b068c473b12fc17115eea2df3ed3ae8520c40d39 100644 (file)
@@ -5,8 +5,8 @@ IN: trees.tests
     TREE{
         { 7 "seven" }
         { 9 "nine" }
-        { 4 "four" } 
-        { 4 "replaced four" } 
+        { 4 "four" }
+        { 4 "replaced four" }
         { 7 "replaced seven" }
     } clone ;
 
index 1305d1e41937d16b9cea57f527a4143ae0726a11..f29f2748e4f9f180a26fcab9f69ea3582a14f2f5 100644 (file)
@@ -33,4 +33,3 @@ IN: units.imperial.tests
 { 1 } [ 3 inches [ palms ] undo ] unit-test
 { 1 } [ 16 nails [ yards ] undo ] unit-test
 { 1 } [ 8 fingers [ yards ] undo ] unit-test
-
index 47287179ce648f7c1d4fed9592cb3922f3ec7d27..46416249c93cfd4ad02fbd56d9ff2aac7b5c87ee 100644 (file)
@@ -3,8 +3,8 @@ IN: wordtimer.tests
 
 : testfn ( a b c d -- a+b c+d )
   + [ + ] dip ;
-    
+
 [ 3 7 ]
 [ reset-word-timer
   \ testfn [ reset ] [ add-timer ] bi
-  1 2 3 4 testfn ] unit-test
\ No newline at end of file
+  1 2 3 4 testfn ] unit-test
index e567815f6f8c74194111323e2cdc7405360deb21..cf9169f6ef956dd3cc9eab9859fb594544cfd619 100644 (file)
@@ -175,18 +175,18 @@ ${ transitive-recursive-objects-anchored } [ transitive-recursive-objects replac
 !     { "option" t }
 !     { "but" H{ { "y" "is a string" } { "n" "is a string" } } }
 ! }
-! 
+!
 ! CONSTANT: construct-bool-str """canonical: yes
 ! answer: NO
 ! logical: True
 ! option: on
-! 
-! 
+!
+!
 ! but:
 !     y: is a string
 !     n: is a string
 ! """
-! 
+!
 ! ${ construct-bool-obj } [ $ construct-bool-str yaml> ] unit-test
 ! ${ construct-bool-obj } [ $ construct-bool-obj >yaml yaml> ] unit-test
 
@@ -209,7 +209,7 @@ ${ transitive-recursive-objects-anchored } [ transitive-recursive-objects replac
 ! binary: 0b1010_0111_0100_1010_1110
 ! sexagesimal: 190:20:30
 ! """
-! 
+!
 ! ${ construct-int-obj } [ $ construct-int-str yaml> ] unit-test
 ! ${ construct-int-obj } [ $ construct-int-obj >yaml yaml> ] unit-test
 
index 33c7c3ec15e0f62d08f134225ca2df83b591c0e9..f3e06317183d99cb07aa15226131ebff19e56a45 100644 (file)
@@ -4,4 +4,4 @@ USING: kernel tools.test zoneinfo ;
 IN: zoneinfo.tests
 
 { t }
-[ "PST8PDT" find-zone-rules and >boolean ] unit-test
\ No newline at end of file
+[ "PST8PDT" find-zone-rules and >boolean ] unit-test