summaryrefslogtreecommitdiffstats
path: root/modules/cron
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-08 14:31:49 -0500
committerUnknwon <u@gogs.io>2015-11-08 14:31:49 -0500
commitb55499d039c5e35130057b8af16401c558e79e79 (patch)
tree4f3fc503ac7f1bb4f63733f359ba450fd90f3f1b /modules/cron
parent58436b5ea51cb5e09fb244331d7a9acf70258063 (diff)
downloadgitea-b55499d039c5e35130057b8af16401c558e79e79.tar.gz
gitea-b55499d039c5e35130057b8af16401c558e79e79.zip
go vet and fix #1890
Diffstat (limited to 'modules/cron')
-rw-r--r--modules/cron/parser_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cron/parser_test.go b/modules/cron/parser_test.go
index 9050cf7869..f03299e5e4 100644
--- a/modules/cron/parser_test.go
+++ b/modules/cron/parser_test.go
@@ -111,7 +111,7 @@ func TestSpecSchedule(t *testing.T) {
t.Error(err)
}
if !reflect.DeepEqual(actual, c.expected) {
- t.Errorf("%s => (expected) %b != %b (actual)", c.expr, c.expected, actual)
+ t.Errorf("%s => (expected) %v != %v (actual)", c.expr, c.expected, actual)
}
}
}