Skip to content

Commit

Permalink
vocabs.metadata: wrap test in a with-manifest to ensure there's a man…
Browse files Browse the repository at this point in the history
…ifest. Fixes factor#1463.
  • Loading branch information
erg committed Aug 28, 2015
1 parent 2a52019 commit b2a51df
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions basis/vocabs/metadata/metadata-tests.factor
Expand Up @@ -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

0 comments on commit b2a51df

Please sign in to comment.