From 7b02e3e64fa7c26928ea33a3fdf75b31ebb46d8b Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Mon, 28 May 2018 15:30:19 -0400 Subject: [PATCH] Correct the EnvironmentError application. --- 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 46089bfbd..68d1d4996 100644 --- a/test/Analysis/Ruby/Spec.hs +++ b/test/Analysis/Ruby/Spec.hs @@ -30,7 +30,7 @@ spec = parallel $ do it "evaluates load with wrapper" $ do ((res, state), _) <- evaluate "load-wrap.rb" - res `shouldBe` Left (SomeExc (inject @(EnvironmentError (Value Precise (Eff _))) (FreeVariable "foo"))) + res `shouldBe` Left (SomeExc (inject @(EnvironmentError Precise) (FreeVariable "foo"))) Env.names (environment state) `shouldContain` [ "Object" ] it "evaluates subclass" $ do