Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marica Odagaki committed Jul 11, 2017
1 parent 39bf1b0 commit b60dc5c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_elm_package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import elm_package


def test_sync_deps_messages_when_version_is_changed():
from_deps = {'core': '1.0.0'}
to_deps = {'core': '0.1.0'}

messages, new_deps = elm_package.sync_deps(from_deps, to_deps)
assert len(messages) == 1
assert '0.1.0 to 1.0.0' in messages[0]

0 comments on commit b60dc5c

Please sign in to comment.