fix tests for always-present slash
This commit is contained in:
parent
d73841c961
commit
6f28b6d432
|
@ -71,8 +71,8 @@ class TestPost < Test::Unit::TestCase
|
||||||
@post.read_yaml(@source, file)
|
@post.read_yaml(@source, file)
|
||||||
|
|
||||||
assert_equal "my_category/permalinked-post", @post.permalink
|
assert_equal "my_category/permalinked-post", @post.permalink
|
||||||
assert_equal "my_category", @post.dir
|
assert_equal "/my_category", @post.dir
|
||||||
assert_equal "my_category/permalinked-post", @post.url
|
assert_equal "/my_category/permalinked-post", @post.url
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with CRLF linebreaks" do
|
context "with CRLF linebreaks" do
|
||||||
|
|
Loading…
Reference in New Issue