From 8d6d7ffed0cadfc251b830d6379b99c373ae88ef Mon Sep 17 00:00:00 2001 From: David Stosik Date: Tue, 8 Oct 2024 07:10:08 +0900 Subject: [PATCH] s/refute_match/assert_no_match/ --- test/commands/builder_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/commands/builder_test.rb b/test/commands/builder_test.rb index e8d48e90..1fc224da 100644 --- a/test/commands/builder_test.rb +++ b/test/commands/builder_test.rb @@ -156,11 +156,11 @@ class CommandsBuilderTest < ActiveSupport::TestCase clone_reset_commands = command.clone_reset_steps.map { |a| a.join(" ") } assert_match(%r{path\\ with\\ space}, clone_command) - refute_match(%r{path with spaces}, clone_command) + assert_no_match(%r{path with spaces}, clone_command) clone_reset_commands.each do |command| assert_match(%r{path\\ with\\ space}, command) - refute_match(%r{path with spaces}, command) + assert_no_match(%r{path with spaces}, command) end end