Skip to content

Commit 613bc30

Browse files
committed
Resolve warning: duplicate character class in regex
1 parent 28eb1c8 commit 613bc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/support/integration/matchers/produce_output_when_run_matcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def initialize(expected_output)
1212
end
1313

1414
def removing_object_ids
15-
first_replacing(/#<([\w_:]+):0x[a-f0-9]+/, '#<\1')
15+
first_replacing(/#<([\w:]+):0x[a-f0-9]+/, '#<\1')
1616
self
1717
end
1818

0 commit comments

Comments
 (0)