+no color test

This commit is contained in:
anon 2025-01-24 11:27:02 +01:00
parent 3a13bd91ce
commit 3a681c1ead

View File

@ -8,6 +8,13 @@ class CMDTEST_basic < Cmdtest::Testcase
end
end
def test_no_color
cmd "NO_COLOR=1 vimdir -h" do
exit_zero
stdout_equal /^[^\e]+$/m
end
end
def test_wrong_arg
cmd "vimdir -j" do
exit_nonzero