]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/central/central-tests.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / extra / central / central-tests.factor
index 3dbcbf32fcc76ce09f45a0f6fa1d910caad51ef5..17c5ee901f75620f4fedb45295d674af34ea7c97 100644 (file)
@@ -9,11 +9,11 @@ CENTRAL: test-central
 TUPLE: test-disp-cent value disposed ;
 
 ! A phony destructor that adds 1 to the value so we can make sure it got called.
-M: test-disp-cent dispose* dup value>> 1+ >>value drop ;
+M: test-disp-cent dispose* dup value>> 1 + >>value drop ;
 
 DISPOSABLE-CENTRAL: t-d-c
 
 : test-t-d-c ( -- n )
     test-disp-cent new 3 >>value [ t-d-c ] with-t-d-c value>> ;
 
-[ 4 ] [ test-t-d-c ] unit-test
\ No newline at end of file
+[ 4 ] [ test-t-d-c ] unit-test