Skip to content

Commit 7cbd58b

Browse files
committed
a value better than block
Signed-off-by: Yuta Iwama <[email protected]>
1 parent 1f3e685 commit 7cbd58b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/plugin/test_output_as_buffered_retries.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -896,16 +896,16 @@ def get_log_time(msg, logs)
896896
@i.flush_thread_wakeup
897897
waiting(4){ Thread.pass until @i.write_count > 0 }
898898

899-
assert{ @i.write_count > 0 }
900-
assert{ @i.num_errors > 0 }
899+
assert(@i.write_count > 0)
900+
assert(@i.num_errors > 0)
901901

902902
now = @i.next_flush_time
903903
Timecop.freeze( now )
904904
@i.flush_thread_wakeup
905905
waiting(4){ Thread.pass until @i.write_count > 1 }
906906

907-
assert{ @i.write_count > 1 }
908-
assert{ @i.num_errors > 1 }
907+
assert(@i.write_count > 1)
908+
assert(@i.num_errors > 1)
909909
end
910910
end
911911
end

0 commit comments

Comments
 (0)