Skip to content

Commit

Permalink
Add assertion to README.md testing block.
Browse files Browse the repository at this point in the history
  • Loading branch information
simi authored Aug 31, 2024
1 parent 4f0926b commit 98c513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class ErbImplementationTest < ActiveSupport::TestCase
pathname = Pathname.new(filename).relative_path_from(Rails.root)
test "html errors in #{pathname}" do
data = File.read(filename)
BetterHtml::BetterErb::ErubiImplementation.new(data, filename:).validate!
assert_nothing_raised { BetterHtml::BetterErb::ErubiImplementation.new(data, filename:).validate! }
end
end
end
Expand Down

0 comments on commit 98c513a

Please sign in to comment.