diff options
author | Alon Zakai <azakai@google.com> | 2023-10-17 08:58:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 08:58:48 -0700 |
commit | ede148eaa505d3681abd67b0b4d7de1b82ec05ff (patch) | |
tree | 03efacbe949fe82ae0cd91e5b37bc866de950ed1 /test | |
parent | 2d1e1501f5da1436f61c8ff5440aca33e25a29e9 (diff) | |
download | binaryen-ede148eaa505d3681abd67b0b4d7de1b82ec05ff.tar.gz binaryen-ede148eaa505d3681abd67b0b4d7de1b82ec05ff.tar.bz2 binaryen-ede148eaa505d3681abd67b0b4d7de1b82ec05ff.zip |
[NFC] Rename getSuperType to getDeclaredSuperType (#6015)
A later PR will add getSuperType which will mean "get the general super type -
either declared, or not".
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); |