(runner)
| 389 | |
| 390 | @pytest.mark.skipif(platform.system() == "Windows", reason="No sed on Windows.") |
| 391 | def test_fast_edit(runner): |
| 392 | result = click.edit("a\nb", editor="sed -i~ 's/$/Test/'") |
| 393 | assert result == "aTest\nbTest\n" |
| 394 | |
| 395 | |
| 396 | @pytest.mark.skipif(platform.system() == "Windows", reason="No sed on Windows.") |