From 8522af6492c9204e2804204ac50cf8f4738cc646 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Mon, 19 Mar 2018 14:53:47 -0700 Subject: [PATCH] Use OverloadedLists here --- test/Analysis/PHP/Spec.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Analysis/PHP/Spec.hs b/test/Analysis/PHP/Spec.hs index 0579544e5..39368a7a2 100644 --- a/test/Analysis/PHP/Spec.hs +++ b/test/Analysis/PHP/Spec.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedLists #-} module Analysis.PHP.Spec (spec) where import Data.Abstract.Value @@ -11,9 +12,7 @@ spec = parallel $ do describe "evalutes PHP" $ do it "include" $ do env <- evaluate "main.php" - let expectedEnv = Environment $ fromList - [ (qualifiedName ["foo"], addr 0) - ] + let expectedEnv = [ (qualifiedName ["foo"], addr 0) ] env `shouldBe` expectedEnv where