Use Map.! instead of reimplementing it

This commit is contained in:
Joseph C. Sible 2020-02-09 21:14:52 -05:00
parent 21ad4196db
commit 43c24cf79c
1 changed files with 1 additions and 1 deletions

View File

@ -2544,7 +2544,7 @@ checkUnpassedInFunctions params root =
name ++ " references arguments, but none are ever passed."
getFunction ((name, _, _):_) =
(name, fromJust $ Map.lookup name functionMap)
(name, functionMap Map.! name)
prop_checkOverridingPath1 = verify checkOverridingPath "PATH=\"$var/$foo\""