mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Use OverloadedLists here
This commit is contained in:
parent
31f7746c26
commit
8522af6492
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user