From 83ac081cec48a841ec70b24fc24b96851c084d03 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 24 Oct 2018 10:32:05 -0400 Subject: [PATCH] SomeError. --- test/Analysis/Ruby/Spec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Analysis/Ruby/Spec.hs b/test/Analysis/Ruby/Spec.hs index f3bce76a8..ec844124f 100644 --- a/test/Analysis/Ruby/Spec.hs +++ b/test/Analysis/Ruby/Spec.hs @@ -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"]