@@ -40,9 +40,9 @@ TEST_F(metacall_node_python_port_ruby_test, DefaultConstructor)
4040 /* NodeJS & Python & Ruby */
4141 #if defined(OPTION_BUILD_LOADERS_NODE) && defined(OPTION_BUILD_LOADERS_PY) && defined(OPTION_BUILD_LOADERS_RB)
4242 {
43- static const char buffer[] =
43+ static const char buffer[] =
4444 /* NodeJS */
45- " const { metacall, metacall_load_from_memory } = require('" METACALL_NODE_PORT_PATH " ');\n "
45+ " const { metacall, metacall_load_from_memory } = require('" METACALL_NODE_PORT_PATH " ');\n "
4646 " metacall_load_from_memory('py', `"
4747 /* Python */
4848 " import sys\n "
@@ -52,14 +52,14 @@ TEST_F(metacall_node_python_port_ruby_test, DefaultConstructor)
5252 " from hello.rb import say_sum_ducktyped, say_multiply_ducktyped\n "
5353 " def py_func(js_func):\n "
5454 " return js_func(lambda x, y: say_multiply_ducktyped(x, y) - say_sum_ducktyped(x, y))\n "
55- " `);\n "
55+ " `);\n "
5656 " const result = metacall('py_func', (py_lambda) => py_lambda(3, 4));\n "
5757 " console.log('Result:', result);\n "
5858 " if (result !== 5.0) process.exit(1);\n " ; // (3 * 4) - (3 + 4) = 5
5959
6060 ASSERT_EQ ((int ) 0 , (int ) metacall_load_from_memory (" node" , buffer, sizeof (buffer), NULL ));
6161 }
62- // #endif /* OPTION_BUILD_LOADERS_NODE && OPTION_BUILD_LOADERS_PY && OPTION_BUILD_LOADERS_RB */
62+ #endif /* OPTION_BUILD_LOADERS_NODE && OPTION_BUILD_LOADERS_PY && OPTION_BUILD_LOADERS_RB */
6363
6464 EXPECT_EQ ((int ) 0 , (int ) metacall_destroy ());
6565}
0 commit comments