From ede148eaa505d3681abd67b0b4d7de1b82ec05ff Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 17 Oct 2023 08:58:48 -0700 Subject: [NFC] Rename getSuperType to getDeclaredSuperType (#6015) A later PR will add getSuperType which will mean "get the general super type - either declared, or not". --- test/gtest/possible-contents.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/gtest/possible-contents.cpp b/test/gtest/possible-contents.cpp index 6599407fa..8e07ef8c3 100644 --- a/test/gtest/possible-contents.cpp +++ b/test/gtest/possible-contents.cpp @@ -552,9 +552,9 @@ TEST_F(PossibleContentsTest, TestStructCones) { auto C = types[2]; auto D = types[3]; auto E = types[4]; - ASSERT_TRUE(B.getSuperType() == A); - ASSERT_TRUE(C.getSuperType() == A); - ASSERT_TRUE(D.getSuperType() == C); + ASSERT_TRUE(B.getDeclaredSuperType() == A); + ASSERT_TRUE(C.getDeclaredSuperType() == A); + ASSERT_TRUE(D.getDeclaredSuperType() == C); auto nullA = Type(A, Nullable); auto nullB = Type(B, Nullable); -- cgit v1.2.3