mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Update test to expect an resumable EvalError
This commit is contained in:
parent
dbe3f89666
commit
7d53807286
@ -29,7 +29,7 @@ spec = parallel $ do
|
||||
|
||||
it "fails exporting symbols not defined in the module" $ do
|
||||
v <- fst <$> evaluate "bad-export.ts"
|
||||
v `shouldBe` Left "module \"foo.ts\" does not export \"pip\""
|
||||
v `shouldBe` Right (Right (Right (Right (Right (Left (ExportError "foo.ts" (Name "pip")))))))
|
||||
|
||||
where
|
||||
fixtures = "test/fixtures/typescript/analysis/"
|
||||
|
Loading…
Reference in New Issue
Block a user