aboutsummaryrefslogtreecommitdiff
path: root/test/segments/vcs-hg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'test/segments/vcs-hg.spec')
-rwxr-xr-xtest/segments/vcs-hg.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/segments/vcs-hg.spec b/test/segments/vcs-hg.spec
index de7c5d38..c4289cef 100755
--- a/test/segments/vcs-hg.spec
+++ b/test/segments/vcs-hg.spec
@@ -214,7 +214,7 @@ function testBranchNameScriptingVulnerability() {
hg add . >/dev/null
hg commit -m "Initial commit" >/dev/null
- assertEquals "%K{002} %F{000} \$(./evil_script.sh) %k%F{002}%f " "$(build_left_prompt)"
+ assertEquals '%K{002} %F{000} $(./evil_script.sh) %k%F{002}%f ' "$(build_left_prompt)"
}
source shunit2/shunit2