Skip to content

Commit

Permalink
style: Suppress Minitest/AssertOperator cop
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 committed Sep 25, 2023
1 parent 5f78227 commit 520ffd6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/test_god_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_stop_all_with_non_killing_signal_long_timeout
# use short timeout to send SIGKILL before 10s timeout
def test_stop_all_with_non_killing_signal_short_timeout
stop_timeout = 1
assert stop_timeout < ::God::STOP_TIMEOUT_DEFAULT
assert_operator stop_timeout, :<, ::God::STOP_TIMEOUT_DEFAULT
with_god_cleanup do
God.start
God.watch do |w|
Expand Down
4 changes: 2 additions & 2 deletions test/test_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def test_watch_log_since

out = @log.watch_log_since('foo', t2)

assert(/one/ !~ out)
assert(/two/ !~ out)
refute_match(/one/, out)
refute_match(/two/, out)
assert_match(/three/, out)
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_system_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_exists_should_return_false_for_non_existent_process

def test_memory
assert_kind_of Integer, @process.memory
assert @process.memory > 0
assert_operator @process.memory, :>, 0
end

def test_percent_memory
Expand Down

0 comments on commit 520ffd6

Please sign in to comment.