test/util: expect_err() (#8257)

other cleanup, ref #8245
This commit is contained in:
Justin M. Keyes
2018-04-11 22:07:00 +02:00
committed by GitHub
parent f96d99ad11
commit 87f4d2592c
7 changed files with 30 additions and 19 deletions

View File

@@ -128,6 +128,10 @@ describe('input utf sequences that contain CSI/K_SPECIAL', function()
end)
describe('input non-printable chars', function()
after_each(function()
os.remove('Xtest-overwrite')
end)
it("doesn't crash when echoing them back", function()
write_file("Xtest-overwrite", [[foobar]])
clear()