summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/test_inheritance.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/sol2/test_inheritance.cpp')
-rw-r--r--3rdparty/sol2/test_inheritance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/sol2/test_inheritance.cpp b/3rdparty/sol2/test_inheritance.cpp
index 5afb363b8e7..ccd46b7d8c7 100644
--- a/3rdparty/sol2/test_inheritance.cpp
+++ b/3rdparty/sol2/test_inheritance.cpp
@@ -144,6 +144,7 @@ tc3 = TestClass03(tc1)
TestClass01& tc1 = lua["tc1"];
TestClass02& tc2 = lua["tc2"];
TestClass03& tc3 = lua["tc3"];
+ REQUIRE(tc0.Thing() == 123);
REQUIRE(tc1.a == 1);
REQUIRE(tc2.a == 1);
REQUIRE(tc2.b == 123);