Skip to content

Commit 39190fc

Browse files
committed
Add debug output to allocation_error_test
1 parent 48c3594 commit 39190fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_06_state.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,8 @@ KAGUYA_TEST_FUNCTION_DEF(allocation_error_test)(kaguya::State &) {
356356
state["data"] = kaguya::NewTable();
357357
Foo foodata;
358358
for (size_t i = 0; i < alloclimit; ++i) {
359-
state("data[" + to_string(i) + "] ='abc'");
359+
std:cout << i << '/' << alloclimit << '\n';
360+
state("data[" + to_string(i) + "] = 'xyz'");
360361
state["data"][i + alloclimit * 2] = alloctest();
361362
state["data"][i + alloclimit * 3] = 1;
362363
state["data"][i + alloclimit * 4] = "str";

0 commit comments

Comments
 (0)