From ca294109c37d5dfd3cc5d33026d58400fbfea34c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 22 Sep 2025 21:23:54 +0900 Subject: Apply RuboCop suggestions --- test/test_core.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_core.rb') diff --git a/test/test_core.rb b/test/test_core.rb index c9f55803..1e1ff812 100644 --- a/test/test_core.rb +++ b/test/test_core.rb @@ -2004,7 +2004,7 @@ class TestCore < TestInteractive end end elapsed = Time.now - time - assert elapsed < 2 + assert_operator elapsed, :<, 2 end def test_bg_cancel @@ -2017,7 +2017,7 @@ class TestCore < TestInteractive tmux.until { assert_equal 2, it.match_count } tmux.send_keys :Space tmux.until { |lines| assert lines.any_include?('[0]') } - sleep 2 + sleep(2) tmux.until do |lines| assert lines.any_include?('[0]') refute lines.any_include?('[1]') -- cgit v1.2.3