1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

fix method name order assertion in subclass spec

This commit is contained in:
Charlie Somerville 2018-07-23 17:42:03 +10:00
parent 1543161f0e
commit 8642cb4e1f

View File

@ -45,7 +45,7 @@ spec config = parallel $ do
heapLookupAll addr heap `shouldBe` Just [String "\"<bar>\""]
Env.names env `shouldContain` [ "Bar", "Foo" ]
(derefQName heap ("Bar" :| []) env >>= deNamespace heap) `shouldBe` Just ("Bar", ["baz", "foo", "inspect"])
(derefQName heap ("Bar" :| []) env >>= deNamespace heap) `shouldBe` Just ("Bar", ["baz", "inspect", "foo"])
other -> expectationFailure (show other)
it "evaluates modules" $ do