Add test to inspect strings
This commit is contained in:
parent
b06af5a44f
commit
aeecbd741f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue