mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
SomeError.
This commit is contained in:
parent
25b2c3c4e9
commit
83ac081cec
@ -36,7 +36,7 @@ spec config = parallel $ do
|
||||
|
||||
it "evaluates load with wrapper" $ do
|
||||
(_, (_, res)) <- evaluate ["load-wrap.rb", "foo.rb"]
|
||||
res `shouldBe` Left (SomeExc (inject @(BaseError (EnvironmentError Precise)) (BaseError (ModuleInfo "load-wrap.rb") emptySpan (FreeVariable "foo"))))
|
||||
res `shouldBe` Left (SomeError (inject @(BaseError (EnvironmentError Precise)) (BaseError (ModuleInfo "load-wrap.rb") emptySpan (FreeVariable "foo"))))
|
||||
|
||||
it "evaluates subclass" $ do
|
||||
(_, (heap, res)) <- evaluate ["subclass.rb"]
|
||||
|
Loading…
Reference in New Issue
Block a user