Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RodolfoSilva committed Jan 3, 2016
1 parent da83653 commit 41c762a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/verbal_expressions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def tearDown(self):
def test_should_render_verex_as_string(self):
self.assertEquals(str(self.v.add('^$')), '^$')

def test_should_render_verex_list_as_string(self):
self.assertEquals(str(self.v.add(['^', '[0-9]', '$'])), '^[0-9]$')

def test_should_match_characters_in_range(self):
self.exp = self.v.start_of_line().range('a', 'c').regex()
for character in ['a', 'b', 'c']:
Expand Down

0 comments on commit 41c762a

Please sign in to comment.