mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Add test to inspect strings
This commit is contained in:
@@ -394,6 +394,10 @@ class TestFilters < JekyllUnitTest
|
||||
should "return a HTML-escaped string representation of an object" do
|
||||
assert_equal "{"<a>"=>1}", @filter.inspect({ "<a>" => 1 })
|
||||
end
|
||||
|
||||
should "quote strings" do
|
||||
assert_equal ""string"", @filter.inspect("string")
|
||||
end
|
||||
end
|
||||
|
||||
context "slugify filter" do
|
||||
|
||||
Reference in New Issue
Block a user