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 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",
}, },