Merge pull request #5725 from jekyll/pull/assert_nil

Merge pull request 5725
This commit is contained in:
jekyllbot 2017-01-09 14:14:01 -08:00 committed by GitHub
commit d2eb645386
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class TestFrontMatterDefaults < JekyllUnitTest
should "affect only the specified path and type" do should "affect only the specified path and type" do
assert_equal @affected.data["key"], "val" assert_equal @affected.data["key"], "val"
assert_equal @not_affected.data["key"], nil assert_nil @not_affected.data["key"]
end end
end end
@ -45,7 +45,7 @@ class TestFrontMatterDefaults < JekyllUnitTest
should "affect only the specified path" do should "affect only the specified path" do
assert_equal @affected.data["key"], "val" assert_equal @affected.data["key"], "val"
assert_equal @not_affected.data["key"], nil assert_nil @not_affected.data["key"]
end end
end end
@ -69,7 +69,7 @@ class TestFrontMatterDefaults < JekyllUnitTest
should "affect only the specified path and all types" do should "affect only the specified path and all types" do
assert_equal @affected.data["key"], "val" assert_equal @affected.data["key"], "val"
assert_equal @not_affected.data["key"], nil assert_nil @not_affected.data["key"]
end end
end end