mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
🔥 the “evaluates” prefix.
This commit is contained in:
parent
65d85e682d
commit
bfd79c062d
@ -9,7 +9,7 @@ import SpecHelpers
|
||||
|
||||
spec :: Spec
|
||||
spec = parallel $ do
|
||||
describe "evaluates Go" $ do
|
||||
describe "Go" $ do
|
||||
it "imports and wildcard imports" $ do
|
||||
((Right [(_, env)], heap), _) <- evaluate ["main.go"]
|
||||
Env.names env `shouldBe` [ "Bar", "Rab", "foo", "main" ]
|
||||
|
@ -13,7 +13,7 @@ import SpecHelpers
|
||||
|
||||
spec :: Spec
|
||||
spec = parallel $ do
|
||||
describe "evaluates TypeScript" $ do
|
||||
describe "TypeScript" $ do
|
||||
it "imports with aliased symbols" $ do
|
||||
((res, _), _) <- evaluate ["main.ts", "foo.ts", "a.ts", "foo/b.ts"]
|
||||
(>>= Env.names . snd) <$> res `shouldBe` Right [ "bar", "quz" ]
|
||||
|
Loading…
Reference in New Issue
Block a user