Add another assertion for escape_shell_value

This commit is contained in:
Samuel Sieg
2023-03-17 16:31:10 +01:00
parent 2de5250486
commit c3d0382935

View File

@@ -33,6 +33,7 @@ class UtilsTest < ActiveSupport::TestCase
end
test "escape_shell_value" do
assert_equal "\"foo\"", Mrsk::Utils.escape_shell_value("foo")
assert_equal "\"\\`foo\\`\"", Mrsk::Utils.escape_shell_value("`foo`")
end
end