aboutsummaryrefslogtreecommitdiff
path: root/test/segments/vcs-hg.spec
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-11-15 15:17:40 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-11-17 00:21:49 +0300
commita72a82b4b1641cde227a403add758d49c2782914 (patch)
treec4d6be4ce2ad28f56e28fba9dce6eefb878a522b /test/segments/vcs-hg.spec
parent24818eff794f32fea5a87a9d4c9e042534da272d (diff)
Fix tests
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