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

Fix a test with ambiguous results.

This commit is contained in:
Rob Rix 2017-08-04 08:58:28 -04:00
parent 61087b394e
commit 68d3a265ae

View File

@ -210,7 +210,7 @@ spec = do
(symbol Palette *> children ( many (green <|> pure (Out "always")) ))
(makeState [node Palette 0 1 [node Green 1 2 [], node Green 2 3 []]])
`shouldBe`
Some ([Out "G", Out "G", Out "always"] :| [])
Some ([Out "G", Out "G", Out "always"] :| [[Out "G", Out "G"]])
describe "source" $ do
it "produces the nodes source" $