From c5e8cb25caa39ed018ede5270e1566e8f7448396 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2017 11:57:24 -0500 Subject: simplify things (#7735) --- model/scheduled_task_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model/scheduled_task_test.go') diff --git a/model/scheduled_task_test.go b/model/scheduled_task_test.go index 6ba8edaf9..5af43b1ef 100644 --- a/model/scheduled_task_test.go +++ b/model/scheduled_task_test.go @@ -36,7 +36,7 @@ func TestCreateTask(t *testing.T) { t.Fatal("Bad interval") } - if task.Recurring != false { + if task.Recurring { t.Fatal("should not reccur") } } @@ -75,7 +75,7 @@ func TestCreateRecurringTask(t *testing.T) { t.Fatal("Bad interval") } - if task.Recurring != true { + if !task.Recurring { t.Fatal("should reccur") } -- cgit v1.2.3-1-g7c22