From a0e342e592c853b5c2d343337ae4a7eeb6b2e09b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Wed, 7 Aug 2024 18:54:16 +0900 Subject: [PATCH] scenario_compiler must escape backslashes --- test/scenario_compiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenario_compiler.rb b/test/scenario_compiler.rb index 332ef9253..67b100871 100644 --- a/test/scenario_compiler.rb +++ b/test/scenario_compiler.rb @@ -63,7 +63,7 @@ def compile_scenario(scenario) line = line.gsub(/#\s*.*\Z/, "") need_comment_removal = false end - out << line << "\n" + out << line.gsub("\\") { "\\\\" } << "\n" end end out << close_str