Added a type specifier to FlowGraphTest to match the changes to the flow-graph builder
This commit is contained in:
parent
181f7638c4
commit
f050dadaec
|
@ -92,7 +92,7 @@ testGraph testName nodes edges proc
|
|||
= TestCase $
|
||||
case evalState (buildFlowGraph testOps (A.OnlyP emptyMeta proc)) Map.empty of
|
||||
Left err -> assertFailure (testName ++ " graph building failed: " ++ err)
|
||||
Right g -> checkGraphEquality (nodes, edges) g
|
||||
Right g -> checkGraphEquality (nodes, edges) (g :: FlowGraph Identity Int)
|
||||
where
|
||||
-- Checks two graphs are equal by creating a node mapping from the expected graph to the real map (checkNodeEquality),
|
||||
-- then mapping the edges across (transformEdge) and checking everything is right (in checkGraphEquality)
|
||||
|
|
Loading…
Reference in New Issue
Block a user