diff options
Diffstat (limited to 'tests/embind/embind_test.cpp')
-rw-r--r-- | tests/embind/embind_test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/embind/embind_test.cpp b/tests/embind/embind_test.cpp index 2746e114..0b3f67e9 100644 --- a/tests/embind/embind_test.cpp +++ b/tests/embind/embind_test.cpp @@ -2345,7 +2345,10 @@ val construct_with_6(val factory) { val construct_with_memory_view(val factory) { static const char data[11] = "0123456789"; - return factory.new_(memory_view(10, data)); + return factory.new_( + std::string("before"), + memory_view(10, data), + std::string("after")); } EMSCRIPTEN_BINDINGS(val_new_) { |