Skip to content

Commit

Permalink
Fix compatibility with quoting change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 17, 2024
1 parent 2c5f92e commit a6a0091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async/reactor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
reactor.print_hierarchy(output, backtrace: true)
lines = output.string.lines

expect(lines).to have_value(be =~ /in `sleep'/)
expect(lines).to have_value(be =~ /in .*sleep'/)

child.stop
end
Expand Down

2 comments on commit a6a0091

@mcampbell
Copy link

@mcampbell mcampbell commented on a6a0091 Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't /in .sleep'/ be less broad? .* is "any number, including 0, of any character.".

@ioquatix
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, not sure if I feel strongly about it. I guess we can change it :)

Please sign in to comment.