Fix test name typo
This commit is contained in:
parent
4c5849daae
commit
f3145d8c1d
@ -99,7 +99,7 @@ func ContainsCommand(s, prefix, cmd string) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func SplitCommandAndArgs(s, prefix string) (cmd string, args []string) {
|
func SplitCommandAndArg(s, prefix string) (cmd string, args []string) {
|
||||||
s = strings.TrimSpace(s)
|
s = strings.TrimSpace(s)
|
||||||
|
|
||||||
if !strings.HasPrefix(s, prefix) {
|
if !strings.HasPrefix(s, prefix) {
|
||||||
|
Loading…
Reference in New Issue
Block a user