test/test_doctor_command.rb: fix test for Doctor.urls_only_differ_by_case
This commit is contained in:
parent
595ad56a7e
commit
645a2cc664
|
|
@ -30,7 +30,7 @@ class TestDoctorCommand < JekyllUnitTest
|
||||||
ret = Jekyll::Commands::Doctor.urls_only_differ_by_case(@site)
|
ret = Jekyll::Commands::Doctor.urls_only_differ_by_case(@site)
|
||||||
assert_equal true, ret
|
assert_equal true, ret
|
||||||
end
|
end
|
||||||
assert_equal "\e[33m Warning: The following URLs only differ by case. On a case-insensitive file system one of the URLs will be overwritten by the other: #{dest_dir}/about/index.html, #{dest_dir}/About/index.html\e[0m\n", output
|
assert_includes output, "Warning: The following URLs only differ by case. On a case-insensitive file system one of the URLs will be overwritten by the other: #{dest_dir}/about/index.html, #{dest_dir}/About/index.html"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue