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:
parent
f2bac46655
commit
b82395dc81
|
@ -347,14 +347,16 @@ testInputCase = TestList
|
|||
a0
|
||||
--Process p0
|
||||
-}
|
||||
testOccamPassTransform "testInputCase 0" (nameAndStopCaringPattern "tag" "Z") (
|
||||
defineProtocolAndC $ (oC *? oCASEinput
|
||||
[inputCaseOption (simpleName "a0", [], p0)]
|
||||
) `becomes`
|
||||
testOccamPassTransform "testInputCase 0" (nameAndStopCaringPattern "tag" "A") (
|
||||
defineProtocolAndC $
|
||||
(oC *? oCASEinput
|
||||
[inputCaseOption (simpleName "a0", [], p0)]
|
||||
)
|
||||
`becomes`
|
||||
oSEQ
|
||||
[decl (return A.Int) oZ
|
||||
[oC *? oZ
|
||||
,oCASE oZ
|
||||
[decl (return A.Int) oA
|
||||
[oC *? oA
|
||||
,oCASE oA
|
||||
[caseOption ([0 :: Int], p0)]
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user