From b5d59c8d898ea603f0b8c7ab5106b8cb42c648af Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 16 Dec 2015 13:55:50 -0800 Subject: [PATCH] Fix test --- nomad/periodic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/periodic_test.go b/nomad/periodic_test.go index 47604a17f..b9e397080 100644 --- a/nomad/periodic_test.go +++ b/nomad/periodic_test.go @@ -180,7 +180,7 @@ func TestPeriodicDispatch_Add_UpdateJob(t *testing.T) { t.Fatalf("Add didn't update: %v", tracked) } - if !reflect.DeepEqual(*job, tracked[0]) { + if !reflect.DeepEqual(job, tracked[0]) { t.Fatalf("Add didn't properly update: got %v; want %v", tracked[0], job) } }