diff options
| -rw-r--r-- | unit_tests/embedded_tests.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp index 899530c..6b12c85 100644 --- a/unit_tests/embedded_tests.cpp +++ b/unit_tests/embedded_tests.cpp | |||
| @@ -180,9 +180,11 @@ TEST_CASE("lanes.embedding.with_default_allocator") | |||
| 180 | std::string_view const _script{ | 180 | std::string_view const _script{ |
| 181 | " local lanes = require 'lanes'.configure{with_timers = false}" | 181 | " local lanes = require 'lanes'.configure{with_timers = false}" |
| 182 | " local l = lanes.linda{name = 'gleh'}" | 182 | " local l = lanes.linda{name = 'gleh'}" |
| 183 | " local upvalue = 'oeauaoeuoeuaoeuaoeujaoefubycfjbycfybcfjybcfjybcfjbcf'" | 183 | " local str_upvalue = 'oeauaoeuoeuaoeuaoeujaoefubycfjbycfybcfjybcfjybcfjbcf'" |
| 184 | " local num_upvalue = 42" | ||
| 185 | " local tab_upvalue = {what = 'i am an upvalue'}" | ||
| 184 | " local upvalued = function()" | 186 | " local upvalued = function()" |
| 185 | " return upvalue" | 187 | " return str_upvalue, num_upvalue, tab_upvalue" |
| 186 | " end" | 188 | " end" |
| 187 | " local t = setmetatable({ true, true, true, a = true}, {__index = rawget })" | 189 | " local t = setmetatable({ true, true, true, a = true}, {__index = rawget })" |
| 188 | " l:set('yo', true, 10, 100.0, upvalue, t, upvalued)" // put a breakpoint in linda_set to have some data to explore with the NATVIS | 190 | " l:set('yo', true, 10, 100.0, upvalue, t, upvalued)" // put a breakpoint in linda_set to have some data to explore with the NATVIS |
