s/refute_match/assert_no_match/

This commit is contained in:
David Stosik
2024-10-08 07:10:08 +09:00
parent f45c754e53
commit 8d6d7ffed0

View File

@@ -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