diff --git a/agent/structs/structs_test.go b/agent/structs/structs_test.go index 6577586334..e407f758c1 100644 --- a/agent/structs/structs_test.go +++ b/agent/structs/structs_test.go @@ -640,7 +640,7 @@ func TestStructs_HealthCheck_IsSame(t *testing.T) { checkStringField(&other.ServiceName) } -func TestStructs_HealthCheck_Unmarshalling(t *testing.T) { +func TestStructs_HealthCheck_Marshalling(t *testing.T) { d := &HealthCheckDefinition{} buf, err := d.MarshalJSON() require.NoError(t, err)