Skip to content

Commit

Permalink
Merge ef0db4c into 37b1b6e
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Aug 26, 2014
2 parents 37b1b6e + ef0db4c commit 60e31d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def test_change(self):
diffed = list(diff(first, second))
assert [] == diffed

first = {'a': 'b'}
second = {'a': None}
diffed = next(diff(first, second))
assert ('change', 'a', ('b', None)) == diffed

def test_nodes(self):
first = {'a': {'b': {'c': 'd'}}}
second = {'a': {'b': {'c': 'd', 'e': 'f'}}}
Expand Down

0 comments on commit 60e31d1

Please sign in to comment.