From 7cf68a4dd97f9cc34f44424061f734dcffa94b1f Mon Sep 17 00:00:00 2001 From: momoyon Date: Mon, 12 May 2025 18:18:31 +0500 Subject: [PATCH] [tests] New test funcall_parsing.momo --- tests/.funcall_parsing.build.code.expected | 1 + tests/.funcall_parsing.build.err.expected | 0 tests/.funcall_parsing.build.in.expected | 1 + tests/.funcall_parsing.build.out.expected | 4 ++++ tests/.funcall_parsing.code.expected | 1 + tests/.funcall_parsing.err.expected | 0 tests/.funcall_parsing.in.expected | 0 tests/.funcall_parsing.out.expected | 0 tests/funcall_parsing.momo | 8 ++++++++ 9 files changed, 15 insertions(+) create mode 100644 tests/.funcall_parsing.build.code.expected create mode 100644 tests/.funcall_parsing.build.err.expected create mode 100644 tests/.funcall_parsing.build.in.expected create mode 100644 tests/.funcall_parsing.build.out.expected create mode 100644 tests/.funcall_parsing.code.expected create mode 100644 tests/.funcall_parsing.err.expected create mode 100644 tests/.funcall_parsing.in.expected create mode 100644 tests/.funcall_parsing.out.expected create mode 100644 tests/funcall_parsing.momo diff --git a/tests/.funcall_parsing.build.code.expected b/tests/.funcall_parsing.build.code.expected new file mode 100644 index 0000000..c227083 --- /dev/null +++ b/tests/.funcall_parsing.build.code.expected @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/tests/.funcall_parsing.build.err.expected b/tests/.funcall_parsing.build.err.expected new file mode 100644 index 0000000..e69de29 diff --git a/tests/.funcall_parsing.build.in.expected b/tests/.funcall_parsing.build.in.expected new file mode 100644 index 0000000..c4d955f --- /dev/null +++ b/tests/.funcall_parsing.build.in.expected @@ -0,0 +1 @@ +dump_ast \ No newline at end of file diff --git a/tests/.funcall_parsing.build.out.expected b/tests/.funcall_parsing.build.out.expected new file mode 100644 index 0000000..1bfcdeb --- /dev/null +++ b/tests/.funcall_parsing.build.out.expected @@ -0,0 +1,4 @@ +funcall_parsing.momo:1:0 [FUNCALL] 'funcall()' +funcall_parsing.momo:3:0 [FUNCALL] 'funcall(1)' +funcall_parsing.momo:5:0 [FUNCALL] 'foo('bar': ???, 'baz': ???, 1, 2, 3)' +funcall_parsing.momo:8:0 [FUNCALL] 'a(b(c('bar': ???, 'baz': ???)))' diff --git a/tests/.funcall_parsing.code.expected b/tests/.funcall_parsing.code.expected new file mode 100644 index 0000000..d7d17fc --- /dev/null +++ b/tests/.funcall_parsing.code.expected @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/tests/.funcall_parsing.err.expected b/tests/.funcall_parsing.err.expected new file mode 100644 index 0000000..e69de29 diff --git a/tests/.funcall_parsing.in.expected b/tests/.funcall_parsing.in.expected new file mode 100644 index 0000000..e69de29 diff --git a/tests/.funcall_parsing.out.expected b/tests/.funcall_parsing.out.expected new file mode 100644 index 0000000..e69de29 diff --git a/tests/funcall_parsing.momo b/tests/funcall_parsing.momo new file mode 100644 index 0000000..831003c --- /dev/null +++ b/tests/funcall_parsing.momo @@ -0,0 +1,8 @@ +funcall(); + +funcall(1); + +foo(bar, + baz, 1, 2, 3); + +a(b(c(bar, baz))); -- 2.39.5