Skip to content

Commit

Permalink
Elicit a more useful error message on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenharman committed May 13, 2024
1 parent 51cd788 commit fb478bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def make_request
possible_lines = ['queue.backlog=1 sockets.backlog=5',
'queue.backlog=0 sockets.backlog=6']

expect(possible_lines.include?(line)).to eq(true)
expect(possible_lines).to include(line)

total = line.split.sum { |kv| kv.split('=').last.to_i }
expect(total).to eq 6
Expand Down

0 comments on commit fb478bf

Please sign in to comment.