]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/encodings/ascii/ascii-tests.factor
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
[factor.git] / core / io / encodings / ascii / ascii-tests.factor
index 13fee51d500d7f10806916c780c82e123c0975e2..f8de3e1fa6622a01f561d708d8075c124854eec4 100644 (file)
@@ -1,9 +1,9 @@
 USING: io.encodings.string io.encodings.ascii tools.test strings arrays ;
 IN: io.encodings.ascii.tests
 
-[ B{ CHAR: f CHAR: o CHAR: o } ] [ "foo" ascii encode ] unit-test
+{ B{ CHAR: f CHAR: o CHAR: o } } [ "foo" ascii encode ] unit-test
 [ { 128 } >string ascii encode ] must-fail
-[ B{ 127 } ] [ { 127 } >string ascii encode ] unit-test
+{ B{ 127 } } [ { 127 } >string ascii encode ] unit-test
 
-[ "bar" ] [ "bar" ascii decode ] unit-test
-[ { CHAR: b 0xfffd CHAR: r } ] [ B{ CHAR: b 233 CHAR: r } ascii decode >array ] unit-test
+{ "bar" } [ "bar" ascii decode ] unit-test
+{ { CHAR: b 0xfffd CHAR: r } } [ B{ CHAR: b 233 CHAR: r } ascii decode >array ] unit-test