1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

Revert "These are probably integers."

This reverts commit d2a74b2a4ca1472976abfccc09601c60840c1761.
This commit is contained in:
Rob Rix 2018-05-28 16:06:25 -04:00
parent 0f3c7df8d1
commit 6b780d297d

View File

@ -13,12 +13,12 @@ spec = parallel $ do
describe "PHP" $ do
it "evaluates include and require" $ do
((res, state), _) <- evaluate "main.php"
res `shouldBe` Right [integer 1]
res `shouldBe` Right [unit]
Env.names (environment state) `shouldBe` [ "bar", "foo" ]
it "evaluates include_once and require_once" $ do
((res, state), _) <- evaluate "main_once.php"
res `shouldBe` Right [integer 1]
res `shouldBe` Right [unit]
Env.names (environment state) `shouldBe` [ "bar", "foo" ]
it "evaluates namespaces" $ do