Skip to content

Commit

Permalink
cov
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Sep 12, 2020
1 parent 3772459 commit 0181928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_0eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ def test_map(self):
("{[1]: true, [1]: false}", "", WDL.Error.EvalError),
("{(false, false): 0, (false, true): 1}", "", WDL.Type.Map((WDL.Type.Pair(WDL.Type.Boolean(), WDL.Type.Boolean()), WDL.Type.Int()))),
)
with self.assertRaisesRegex(WDL.Error.EvalError, "to JSON"):
WDL.parse_expr("{(false, false): 0, (false, true): 1}").infer_type(WDL.Env.Bindings()).eval(WDL.Env.Bindings()).json

def test_errors(self):
self._test_tuples(
Expand Down

0 comments on commit 0181928

Please sign in to comment.