Tried changing an existing test from using oZ to oA which revealed a problem with the csNames comparison (and matching the map orderings)

This commit is contained in:
Neil Brown 2008-11-16 13:05:30 +00:00
parent f2bac46655
commit b82395dc81

View File

@ -347,14 +347,16 @@ testInputCase = TestList
a0 a0
--Process p0 --Process p0
-} -}
testOccamPassTransform "testInputCase 0" (nameAndStopCaringPattern "tag" "Z") ( testOccamPassTransform "testInputCase 0" (nameAndStopCaringPattern "tag" "A") (
defineProtocolAndC $ (oC *? oCASEinput defineProtocolAndC $
(oC *? oCASEinput
[inputCaseOption (simpleName "a0", [], p0)] [inputCaseOption (simpleName "a0", [], p0)]
) `becomes` )
`becomes`
oSEQ oSEQ
[decl (return A.Int) oZ [decl (return A.Int) oA
[oC *? oZ [oC *? oA
,oCASE oZ ,oCASE oA
[caseOption ([0 :: Int], p0)] [caseOption ([0 :: Int], p0)]
] ]
] ]