]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/id3/id3-tests.factor
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
[factor.git] / extra / id3 / id3-tests.factor
index d29609f19a14fa7c0a37daced89b0b2dc4e78dd9..bd5e9bb27d23558ed11995eb1e9f5f4c3ed55e5a 100644 (file)
@@ -14,33 +14,33 @@ IN: id3.tests
         [ genre ]
     } cleave ;
 
-[
+{
    "BLAH"
    "ARTIST"
    "ALBUM"
    "2009"
    "COMMENT"
    "Bluegrass"
-] [ "vocab:id3/tests/blah.mp3" mp3>id3 id3-params ] unit-test
+} [ "vocab:id3/tests/blah.mp3" mp3>id3 id3-params ] unit-test
 
-[
+{
     "Anthem of the Trinity"
     "Terry Riley"
     "Shri Camel"
     f
     f
     "Classical"
-] [ "vocab:id3/tests/blah2.mp3" mp3>id3 id3-params ] unit-test
+} [ "vocab:id3/tests/blah2.mp3" mp3>id3 id3-params ] unit-test
 
-[
+{
    "Stormy Weather"
    "Frank Sinatra"
    "Night and Day Frank Sinatra"
     f
    "eng, AG# 08E1C12E"
    "Big Band"
-] [ "vocab:id3/tests/blah3.mp3" mp3>id3 id3-params ] unit-test
+} [ "vocab:id3/tests/blah3.mp3" mp3>id3 id3-params ] unit-test
 
 
-[ t ]
+{ t }
 [ 10000 iota [ synchsafe>sequence sequence>synchsafe ] map [ < ] monotonic? ] unit-test