diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gtest/possible-contents.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |