fix some typos
This commit is contained in:
parent
b5bb59476c
commit
8583e29645
@ -21,14 +21,14 @@ func TestIsValidChannel(t *testing.T) {
|
|||||||
want bool
|
want bool
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "single asterisc",
|
name: "single asterisk",
|
||||||
args: args{
|
args: args{
|
||||||
channel: "/*",
|
channel: "/*",
|
||||||
},
|
},
|
||||||
want: true,
|
want: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "double asterisc",
|
name: "double asterisk",
|
||||||
args: args{
|
args: args{
|
||||||
channel: "/**",
|
channel: "/**",
|
||||||
},
|
},
|
||||||
@ -56,7 +56,7 @@ func TestIsValidChannel(t *testing.T) {
|
|||||||
want: false,
|
want: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "invalid asterisc at the middle",
|
name: "invalid asterisk at the middle",
|
||||||
args: args{
|
args: args{
|
||||||
channel: "/foo/**/bar",
|
channel: "/foo/**/bar",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user