mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-27 08:36:37 +00:00
Fix spelling in test description (#3198)
This commit is contained in:
parent
b9c2c28b09
commit
685907ddf6
1 changed files with 2 additions and 2 deletions
|
@ -42,12 +42,12 @@ func TestNewSecretsReplacer(t *testing.T) {
|
||||||
secrets: []string{"an\nmulti line secret!!"},
|
secrets: []string{"an\nmulti line secret!!"},
|
||||||
expect: "start log\ndone\nnow\n********\n******** ;)",
|
expect: "start log\ndone\nnow\n********\n******** ;)",
|
||||||
}, {
|
}, {
|
||||||
name: "secret with multible lines with no match",
|
name: "secret with multiple lines with no match",
|
||||||
log: "start log\ndone\nnow\nan\nmulti line secret!! ;)",
|
log: "start log\ndone\nnow\nan\nmulti line secret!! ;)",
|
||||||
secrets: []string{"Test\nwith\n\ntwo new lines"},
|
secrets: []string{"Test\nwith\n\ntwo new lines"},
|
||||||
expect: "start log\ndone\nnow\nan\nmulti line secret!! ;)",
|
expect: "start log\ndone\nnow\nan\nmulti line secret!! ;)",
|
||||||
}, {
|
}, {
|
||||||
name: "secret with multible lines with match",
|
name: "secret with multiple lines with match",
|
||||||
log: "start log\ndone\nnow\nan\nmulti line secret!! ;)\nwith\ntwo\n\nnewlines",
|
log: "start log\ndone\nnow\nan\nmulti line secret!! ;)\nwith\ntwo\n\nnewlines",
|
||||||
secrets: []string{"an\nmulti line secret!!", "two\n\nnewlines"},
|
secrets: []string{"an\nmulti line secret!!", "two\n\nnewlines"},
|
||||||
expect: "start log\ndone\nnow\n********\n******** ;)\nwith\n********\n\n********",
|
expect: "start log\ndone\nnow\n********\n******** ;)\nwith\n********\n\n********",
|
||||||
|
|
Loading…
Reference in a new issue