-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
test double slash when input = '/' #5542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/cc @benbalter |
"url" => "http://example.com", | ||
"baseurl" => nil | ||
}) | ||
refute_equal "http://example.com//", filter.absolute_url(page_url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
"url" => "http://example.com", | ||
"baseurl" => "/base" | ||
}) | ||
refute_equal "http://example.com/base//", filter.absolute_url(page_url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we assert
that it is proper, rather than refuting this particular wrong case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done..
@benbalter, does this look good to you? I don't see a failing test in the history and I don't trust my reading well enough since I was the one who let this slip through in the first place. 😸 |
Shouldn't these tests currently be failing? Was something else causing jekyll/jekyll-feed#145? |
I was not able to reproduce the error on my Windows machine. Hence wrote these tests to have Travis check it.. |
What's up with AppVeyor? |
@pathawks the test log pre-dates fixing AppVeyor on the |
Always good to have extra tests for things like this. @jekyllbot: merge +bug |
@parkr I think it would be better that @jekyllbot adds a single label |
test #5541