From 3c1c4287469049802f611226ea0fa786693825aa Mon Sep 17 00:00:00 2001 From: Alex Skrenchuk Date: Wed, 25 Sep 2024 17:04:59 -0700 Subject: [PATCH] comply with Minitest Style Guide --- test/test_scheduler.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_scheduler.rb b/test/test_scheduler.rb index 58808ea5..d3d0ac04 100644 --- a/test/test_scheduler.rb +++ b/test/test_scheduler.rb @@ -104,8 +104,8 @@ def test_scheduler_locking assert job1_thread.alive? assert job2_thread.alive? - assert listen_string.include?("JOB1") - refute listen_string.include?("JOB2") + assert_includes listen_string, "JOB1" + refute_includes listen_string, "JOB2" job1_thread.kill job1_thread.join refute job1_thread.alive?