(example_app)
| 10 | |
| 11 | |
| 12 | def test_without_expand(example_app): |
| 13 | example_app.expect(textwrap.dedent("""\ |
| 14 | ? Conflict on `file.js`: (yAdxh) |
| 15 | >> Overwrite this one and all next""")) |
| 16 | example_app.write('x') |
| 17 | example_app.expect(textwrap.dedent("""\ |
| 18 | |
| 19 | Abot """)) # only registers changed chars :) |
| 20 | example_app.write(keys.ENTER) |
| 21 | example_app.expect(textwrap.dedent("""\ |
| 22 | ? Conflict on `file.js`: abort |
| 23 | { |
| 24 | "overwrite": "abort" |
| 25 | } |
| 26 | |
| 27 | """)) |
| 28 | |
| 29 | |
| 30 | def test_with_expand(example_app): |