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:
parent
0f3c7df8d1
commit
6b780d297d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user