From 91512e90e7c4d444b0068dc16a290df0881103c9 Mon Sep 17 00:00:00 2001 From: jonmeow <46229924+jonmeow@users.noreply.github.com> Date: Sat, 31 Jul 2021 00:22:25 +0000 Subject: [PATCH] Fix tests affected by pattern change --- executable_semantics/testdata/struct_field_mismatch.golden | 4 +++- executable_semantics/testdata/struct_field_missing.golden | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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