Skip to content

Commit 3a7f16c

Browse files
committed
✅ Simplify pending message for non-CRuby
While it's occassionally nice during debugging to see the entire regexp, the test name is already part of the pending output. And some of the regexps are BIG.
1 parent d142139 commit 3a7f16c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/net/imap/test_regexps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_linear_time(data)
3838
pend "Regexp.linear_time? not implemented by #{RUBY_ENGINE} #{RUBY_ENGINE_VERSION}"
3939
rescue Test::Unit::AssertionFailedError
4040
raise if RUBY_ENGINE == "ruby"
41-
pend "%p might backtrack in %s %s" % [regexp, RUBY_ENGINE, RUBY_ENGINE_VERSION]
41+
pend "might backtrack in %s %s" % [RUBY_ENGINE, RUBY_ENGINE_VERSION]
4242
end
4343

4444
end

0 commit comments

Comments
 (0)