summaryrefslogtreecommitdiffstats
path: root/modules/util/shellquote_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/util/shellquote_test.go')
-rw-r--r--modules/util/shellquote_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/util/shellquote_test.go b/modules/util/shellquote_test.go
index 2ddc6d763d..be6ba372fd 100644
--- a/modules/util/shellquote_test.go
+++ b/modules/util/shellquote_test.go
@@ -33,7 +33,7 @@ func TestShellEscape(t *testing.T) {
"~git/Gitea v1.13/gitea",
`~git/"Gitea v1.13/gitea"`,
}, {
- "Bangs are unforutunately not predictable so need to be singlequoted",
+ "Bangs are unfortunately not predictable so need to be singlequoted",
"C:/Program Files/Gitea!/gitea",
`'C:/Program Files/Gitea!/gitea'`,
}, {
@@ -41,7 +41,7 @@ func TestShellEscape(t *testing.T) {
"/home/git/Gitea\n\nWHY-WOULD-YOU-DO-THIS\n\nGitea/gitea",
"'/home/git/Gitea\n\nWHY-WOULD-YOU-DO-THIS\n\nGitea/gitea'",
}, {
- "Similarly we should nicely handle mutiple single quotes if we have to single-quote",
+ "Similarly we should nicely handle multiple single quotes if we have to single-quote",
"'!''!'''!''!'!'",
`\''!'\'\''!'\'\'\''!'\'\''!'\''!'\'`,
}, {