We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_parse_test_output fails
Similar to #2, any test cases that have string interpolation (due to being in a loop) fails to parse.
Example test:
# typed: false # frozen_string_literal: true require "test_helper" class ErbImplementationTest < ActiveSupport::TestCase ERB_GLOB = Rails.root.join( "app", "views", "**", "{*.htm,*.html,*.htm.erb,*.html.erb,*.html+*.erb}" ) Dir[ERB_GLOB].each do |filename| pathname = Pathname.new(filename).relative_path_from(Rails.root) test "html errors in #{pathname}" do data = File.read(filename) BetterHtml::BetterErb::ErubiImplementation.new(data).validate! end end end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to #2, any test cases that have string interpolation (due to being in a loop) fails to parse.
Example test:
The text was updated successfully, but these errors were encountered: