# File lib/capybara/rspec/matchers.rb, line 70 def format(text) text = Capybara::Helpers.normalize_whitespace(text) unless text.is_a? Regexp text.inspect end