Skip to content

Commit

Permalink
[mod] add a failing test that needs to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Feb 5, 2016
1 parent da60473 commit 5b0755d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,3 +469,8 @@ def c(self):
""")


def test_dont_add_newlines_after_import():
red = RedBaron("import a\n\nimport b\n\npouet\n")
red.append("plop")
assert red.dumps() == "import a\n\nimport b\n\npouet\nplop\n"

0 comments on commit 5b0755d

Please sign in to comment.