We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c3594 commit c6bd6b8Copy full SHA for c6bd6b8
test/test_06_state.cpp
@@ -1,5 +1,6 @@
1
#include "kaguya/kaguya.hpp"
2
#include "test_util.hpp"
3
+#include <iostream>
4
5
KAGUYA_TEST_GROUP_START(test_06_state)
6
@@ -356,7 +357,8 @@ KAGUYA_TEST_FUNCTION_DEF(allocation_error_test)(kaguya::State &) {
356
357
state["data"] = kaguya::NewTable();
358
Foo foodata;
359
for (size_t i = 0; i < alloclimit; ++i) {
- state("data[" + to_string(i) + "] ='abc'");
360
+ std:cout << i << '/' << alloclimit << '\n';
361
+ state("data[" + to_string(i) + "] = 'xyz'");
362
state["data"][i + alloclimit * 2] = alloctest();
363
state["data"][i + alloclimit * 3] = 1;
364
state["data"][i + alloclimit * 4] = "str";
0 commit comments