Skip to content
Snippets Groups Projects
Commit afb85839 authored by Ondřej Štorc's avatar Ondřej Štorc
Browse files

cli: Fix file escaping

parent 4799cb64
No related branches found
No related tags found
1 merge request!256Parser replacement with ANTLR
execute $set >"lo\\cal/yyy.xml"
\ No newline at end of file
execute < "local/yyy.xml"
\ No newline at end of file
...@@ -380,7 +380,7 @@ TEST_CASE("Cli", "[unit][cli]") ...@@ -380,7 +380,7 @@ TEST_CASE("Cli", "[unit][cli]")
   
testLine("execute $set | Print -", environment); testLine("execute $set | Print -", environment);
   
testLine("execute $set >\"lo\\\\cal/yyy.xml\"", environment); testLine("execute $set >\"local/yyy.xml\"", environment);
   
testLine("execute < \"local/yyy.xml\" > $set2", environment); testLine("execute < \"local/yyy.xml\" > $set2", environment);
CHECK(ext::to_string(environment.getVariable("set2")->getActualType()) == "ext::set<int>"); CHECK(ext::to_string(environment.getVariable("set2")->getActualType()) == "ext::set<int>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment