mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fun is ok, mem not ok
This commit is contained in:
parent
e826039e01
commit
c5ae58111a
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -10,7 +10,7 @@
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/src/test/pikascript_test",
|
||||
"args": [
|
||||
"--gtest_filter=arg_test.name"
|
||||
"--gtest_filter=strs*"
|
||||
],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f539745365c850950191311a31a9c5b4725edabf
|
||||
Subproject commit ffca66dabab1b434e9df595d56d54af3c22c9cf5
|
@ -72,9 +72,6 @@ TEST(args_test, print_int)
|
||||
{
|
||||
Args *args = New_args(NULL);
|
||||
args_setInt(args, (char *)"testInt", 124);
|
||||
args_print(args, (char *)"testInt");
|
||||
char *str = args_print(args, (char *)"testInt");
|
||||
printf("str: %s\r\n", str);
|
||||
EXPECT_EQ(1, strEqu((char *)"124", args_print(args, (char *)"testInt")));
|
||||
args_deinit(args);
|
||||
EXPECT_EQ(pikaMemNow(), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user