diff --git a/executable_semantics/testdata/struct_field_mismatch.golden b/executable_semantics/testdata/struct_field_mismatch.golden index 75a6b65694ce..a4463ac38bad 100644 --- a/executable_semantics/testdata/struct_field_mismatch.golden +++ b/executable_semantics/testdata/struct_field_mismatch.golden @@ -1,2 +1,4 @@ -COMPILATION ERROR: 11: field names do not match, expected y but got z +COMPILATION ERROR: 11: type error in call +expected: (x = Int, y = Int) +actual: (x = Int, z = Int) EXIT CODE: 255 diff --git a/executable_semantics/testdata/struct_field_missing.golden b/executable_semantics/testdata/struct_field_missing.golden index cd03b9f04642..9c4a56440c09 100644 --- a/executable_semantics/testdata/struct_field_missing.golden +++ b/executable_semantics/testdata/struct_field_missing.golden @@ -1,2 +1,4 @@ -COMPILATION ERROR: 11: tuples of different length +COMPILATION ERROR: 11: type error in call +expected: (x = Int, y = Int) +actual: (x = Int) EXIT CODE: 255