Skip to content

Commit

Permalink
Fix incorrect use of NewType-defined type
Browse files Browse the repository at this point in the history
  • Loading branch information
dseomn committed Sep 24, 2023
1 parent 800629c commit 005d195
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rock_paper_sand/multi_level_set_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def test_valid_set(
is_member: bool,
) -> None:
test_set = multi_level_set.MultiLevelSet.from_string(set_str)
self.assertEqual(is_member, number in test_set)
self.assertEqual(
is_member, multi_level_set.MultiLevelNumber(number) in test_set
)

@parameterized.parameters(
".",
Expand Down

0 comments on commit 005d195

Please sign in to comment.