Skip to content

Commit

Permalink
scenario_compiler must escape backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Aug 7, 2024
1 parent 5f30028 commit a0e342e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scenario_compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0e342e

Please sign in to comment.