Skip to content

Commit

Permalink
Tests cover more of struct creation
Browse files Browse the repository at this point in the history
  • Loading branch information
fahhem committed Feb 10, 2015
1 parent 7649de4 commit affc83d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/basics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_field_exists(self):

def test_struct_creation(self):
assert str(Basic({0: 1})) == 'Basic({field: 1})'
assert str(Basic({'0': 1})) == 'Basic({field: 1})'
assert str(Basic({'field': 1})) == 'Basic({field: 1})'
assert str(Basic({b'field': 1})) == 'Basic({field: 1})'

Expand Down

0 comments on commit affc83d

Please sign in to comment.