1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Update test to expect an resumable EvalError

This commit is contained in:
joshvera 2018-04-17 19:24:55 -04:00
parent dbe3f89666
commit 7d53807286

View File

@ -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/"