There are a couple of formatting issues in the RCPTT testcase editor that are very annoying.
1. Strings with underscore as their first char get their quotes removed, causing syntax error:
Before:
concat "one string" "_underscore" "another string" | log
After:
concat "one string" _underscore "another string" | log
2. Really long lines can get split incorrectly, causing syntax errors:
Before:
concat $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2"another string" $variable2"another string" $variable2| log
After:
concat $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string"
$variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 | log
3. This one is nit-picky, but nested commands and ifs get formatted in an ugly way
global [val rootUri //
[concat "workspace:/ProjectA/" //
[if [$useDefault | equals false] {
emit "default"
} -else {
concat [if [$is_version14] {
emit "v14"
} -else {
emit "v9"
}] "/"
}]]]