We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 267b117 + 1f1df71 commit 71ccffbCopy full SHA for 71ccffb
lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb
@@ -52,7 +52,7 @@ def filter(matches)
52
content.sub!(/\A\n/, '') if text_matches && match.name == "textarea"
53
54
next if regex_matching ? (content =~ match_with) : (content == match_with)
55
- content_mismatch ||= sprintf("<%s> expected but was\n<%s>.", match_with, content)
+ content_mismatch ||= sprintf("<%s> expected but was\n<%s>", match_with, content)
56
true
57
end
58
0 commit comments