summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/test_inheritance.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2017-02-05 16:01:50 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2017-02-05 16:06:06 +0100
commitac096aa2a0921efde96b76252dffb119dcf27efc (patch)
tree2ad9a28a7f6babce8cfcbf5995e3e055ff13ff60 /3rdparty/sol2/test_inheritance.cpp
parent29df715138452ee18ba19ec4b07e18c4b3185de7 (diff)
Update sol2 (nw)
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);