Skip to content

Commit c13584a

Browse files
committed
improve test case
1 parent 8138537 commit c13584a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/02_daemon_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestDaemonRequests(t *testing.T) {
110110
runCmd(t, &cmd{
111111
Cmd: bin,
112112
Args: append(baseArgs, "check_network", "warn=total > 100000000", "crit=total > 100000000"),
113-
Like: []string{`OK - \w+ >\d+ \w*B/s <\d+ \w*B\/s`},
113+
Like: []string{`OK - [\w ]+ >\d+ \w*B/s <\d+ [\w ]+B\/s`},
114114
})
115115

116116
if runtime.GOOS == "linux" || runtime.GOOS == "windows" {

0 commit comments

Comments
 (0)