From b990bab452a6e725d7e4d6100256819bfd47cc87 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 4 Nov 2021 22:08:23 -0700 Subject: [PATCH] Fix `main` names that got past CI to fix tests. (#945) #939 switch to `Main`, but #919 predated it and didn't get updated before merging. Its tests passed on the PR branch as a consequence, but failed when landed. This just updates the test cases. Trivial fix forward. --- executable_semantics/testdata/name_lookup/global_shadow.carbon | 2 +- executable_semantics/testdata/name_lookup/match_shadow.carbon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executable_semantics/testdata/name_lookup/global_shadow.carbon b/executable_semantics/testdata/name_lookup/global_shadow.carbon index 1cdfe4d794da..4939b2a2619b 100644 --- a/executable_semantics/testdata/name_lookup/global_shadow.carbon +++ b/executable_semantics/testdata/name_lookup/global_shadow.carbon @@ -13,7 +13,7 @@ package ExecutableSemanticsTest api; var x: i32 = 0; -fn main() -> i32 { +fn Main() -> i32 { var x: i32 = 0; return 0; } diff --git a/executable_semantics/testdata/name_lookup/match_shadow.carbon b/executable_semantics/testdata/name_lookup/match_shadow.carbon index 7ee6c157c1db..0502ae6279d0 100644 --- a/executable_semantics/testdata/name_lookup/match_shadow.carbon +++ b/executable_semantics/testdata/name_lookup/match_shadow.carbon @@ -13,7 +13,7 @@ package ExecutableSemanticsTest api; var x: i32 = 0; -fn main() -> i32 { +fn Main() -> i32 { match (0) { case x: i32 => { var x: i32 = 0;