1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00

Remove a few extra parens

This commit is contained in:
Timothy Clem 2018-03-23 11:25:02 -07:00
parent 417b9ec965
commit 465feebb39
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ spec = parallel $ do
it "evaluates namespaces" $ do
res <- evaluate "namespaces.php"
(findEnv res) `shouldBe` [ (name "NS1", addr 0)
, (name "Foo", addr 6) ]
findEnv res `shouldBe` [ (name "NS1", addr 0)
, (name "Foo", addr 6) ]
let heap = findHeap res
Map.lookup (Precise 0) heap `shouldBe` ns "NS1" [ (name "Sub1", addr 1)

View File

@ -21,8 +21,8 @@ spec = parallel $ do
it "load wrap" $ do
res <- evaluate "load-wrap.rb"
(findValue res) `shouldBe` Left "free variable: \"foo\""
(findEnv res) `shouldBe` []
findValue res `shouldBe` Left "free variable: \"foo\""
findEnv res `shouldBe` []
it "subclass" $ do
v <- findValue <$> evaluate "subclass.rb"