mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
test the path, not the parts
This commit is contained in:
@@ -26,8 +26,7 @@ class TestConvertible < Test::Unit::TestCase
|
||||
assert_equal({}, ret)
|
||||
end
|
||||
assert_match(/YAML Exception|syntax error/, out)
|
||||
assert_match(/#{@base}/, out)
|
||||
assert_match(/#{@name}/, out)
|
||||
assert_match(/#{File.join(@base,@name)}/, out)
|
||||
end
|
||||
|
||||
if RUBY_VERSION >= '1.9.2'
|
||||
@@ -38,8 +37,7 @@ class TestConvertible < Test::Unit::TestCase
|
||||
assert_equal({}, ret)
|
||||
end
|
||||
assert_match(/invalid byte sequence in UTF-8/, out)
|
||||
assert_match(/#{@base}/, out)
|
||||
assert_match(/#{@name}/, out)
|
||||
assert_match(/#{File.join(@base,@name)}/, out)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user