Always check the stack state after each test.
commit1aaece897e3f75ce02cef89dce69928f9df7318b
authorDaniel Wallin <daniel@boostpro.com>
Tue, 9 Sep 2008 12:14:00 +0000 (9 14:14 +0200)
committerDaniel Wallin <daniel@boostpro.com>
Tue, 9 Sep 2008 12:14:00 +0000 (9 14:14 +0200)
tree7d703a35d4516b24c21b741e7a1db19ae16596e3
parent0932d8e12862f3469386df1d6f13a5dbf8fa8229
Always check the stack state after each test.

We were checking the stack state when the lua_State wrapper destructed,
but in case of failure the test would still pass. This change fixes
that.
test/main.cpp