diff --git a/nomad/structs/structs_test.go b/nomad/structs/structs_test.go
index <HASH>..<HASH> 100644
--- a/nomad/structs/structs_test.go
+++ b/nomad/structs/structs_test.go
@@ -278,6 +278,12 @@ func TestJob_SpecChanged(t *testing.T) {
 			Original: base,
 			New:      change,
 		},
+		{
+			Name:     "With Constraints",
+			Changed:  false,
+			Original: &Job{Constraints: []*Constraint{{"A", "B", "="}}},
+			New:      &Job{Constraints: []*Constraint{{"A", "B", "="}}},
+		},
 	}
 
 	for _, c := range cases {
core: add spec changed test with constriants