fixed editSelectedGoalie test labels

This commit is contained in:
Jonathan Lamothe 2020-01-09 01:43:35 -05:00
parent 59026de077
commit b69b3fce7a

View File

@ -254,8 +254,8 @@ editSelectedGoalieSpec = describe "editSelectedGoalie" $ mapM_
-- label, initial state, expected -- label, initial state, expected
[ ( "wrong mode", baseState, goalies ) [ ( "wrong mode", baseState, goalies )
, ( "not selected", changeGoalie Nothing, goalies ) , ( "not selected", changeGoalie Nothing, goalies )
, ( "player 0", changeGoalie $ Just 0, changed0 ) , ( "goalie 0", changeGoalie $ Just 0, changed0 )
, ( "player 1", changeGoalie $ Just 1, changed1 ) , ( "goalie 1", changeGoalie $ Just 1, changed1 )
, ( "out of bounds", changeGoalie $ Just 2, goalies ) , ( "out of bounds", changeGoalie $ Just 2, goalies )
] ]