fix some typos

This commit is contained in:
Marcelo Pires 2018-09-12 09:45:47 +02:00
parent b5bb59476c
commit 8583e29645

View File

@ -21,14 +21,14 @@ func TestIsValidChannel(t *testing.T) {
want bool
}{
{
name: "single asterisc",
name: "single asterisk",
args: args{
channel: "/*",
},
want: true,
},
{
name: "double asterisc",
name: "double asterisk",
args: args{
channel: "/**",
},
@ -56,7 +56,7 @@ func TestIsValidChannel(t *testing.T) {
want: false,
},
{
name: "invalid asterisc at the middle",
name: "invalid asterisk at the middle",
args: args{
channel: "/foo/**/bar",
},