Add more tests to TestMatchers (#3362)
Signed-off-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
parent
f67d03fe28
commit
93797c3c9d
|
@ -28,6 +28,14 @@ func TestMatchers(t *testing.T) {
|
|||
input: `{}`,
|
||||
want: make([]*Matcher, 0),
|
||||
},
|
||||
{
|
||||
input: `,`,
|
||||
err: "bad matcher format: ",
|
||||
},
|
||||
{
|
||||
input: `{,}`,
|
||||
err: "bad matcher format: ",
|
||||
},
|
||||
{
|
||||
input: `{foo='}`,
|
||||
want: func() []*Matcher {
|
||||
|
|
Loading…
Reference in New Issue