]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs.metadata: wrap test in a with-manifest to ensure there's a manifest. Fixes...
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 28 Aug 2015 05:27:54 +0000 (22:27 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 28 Aug 2015 05:28:30 +0000 (22:28 -0700)
basis/vocabs/metadata/metadata-tests.factor

index 0f248b63771176546bc190a63723547af12a0e3e..7e8b0a9a5717c4ca9b6b384d15330793abae2146 100644 (file)
@@ -5,10 +5,12 @@ IN: vocabs.metadata
 : wrong-platform-vocab-name ( -- name )
     os windows? "unix" "windows" ? ;
 
-[ wrong-platform-vocab-name use-vocab ]
-[ error>> unsupported-platform? ] must-fail-with
+[
+    [ wrong-platform-vocab-name use-vocab ]
+    [ error>> unsupported-platform? ] must-fail-with
 
-! Factor remembers that we tried to load the wrong vocab
-! and this breaks f2 until we forget the vocab.
-! See issue #1463.
-[ wrong-platform-vocab-name forget-vocab ] try
+    ! Factor remembers that we tried to load the wrong vocab
+    ! and this breaks f2 until we forget the vocab.
+    ! See issue #1463.
+    [ wrong-platform-vocab-name forget-vocab ] try
+] with-manifest