From 804c2fd35e19c1a19e9631804953efc3858d04f6 Mon Sep 17 00:00:00 2001 From: momoyon Date: Tue, 13 May 2025 12:47:37 +0500 Subject: [PATCH] [tests] Rename tests to have consistent naming --- tests/.funcall_parsing.build.out.expected | 4 ---- ...build.code.expected => .parse_funcall.build.code.expected} | 0 ...g.build.err.expected => .parse_funcall.build.err.expected} | 0 ...ing.build.in.expected => .parse_funcall.build.in.expected} | 0 tests/.parse_funcall.build.out.expected | 4 ++++ ...all_parsing.code.expected => .parse_funcall.code.expected} | 0 ...ncall_parsing.err.expected => .parse_funcall.err.expected} | 0 ...funcall_parsing.in.expected => .parse_funcall.in.expected} | 0 ...ncall_parsing.out.expected => .parse_funcall.out.expected} | 0 ....build.code.expected => .parse_suffix.build.code.expected} | 0 ...ng.build.err.expected => .parse_suffix.build.err.expected} | 0 ...sing.build.in.expected => .parse_suffix.build.in.expected} | 0 tests/.parse_suffix.build.out.expected | 4 ++++ ...ffix_parsing.code.expected => .parse_suffix.code.expected} | 0 ...suffix_parsing.err.expected => .parse_suffix.err.expected} | 0 ...{.suffix_parsing.in.expected => .parse_suffix.in.expected} | 0 ...suffix_parsing.out.expected => .parse_suffix.out.expected} | 0 tests/.suffix_parsing.build.out.expected | 4 ---- tests/{funcall_parsing.momo => parse_funcall.momo} | 0 tests/{suffix_parsing.momo => parse_suffix.momo} | 0 20 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 tests/.funcall_parsing.build.out.expected rename tests/{.funcall_parsing.build.code.expected => .parse_funcall.build.code.expected} (100%) rename tests/{.funcall_parsing.build.err.expected => .parse_funcall.build.err.expected} (100%) rename tests/{.funcall_parsing.build.in.expected => .parse_funcall.build.in.expected} (100%) create mode 100644 tests/.parse_funcall.build.out.expected rename tests/{.funcall_parsing.code.expected => .parse_funcall.code.expected} (100%) rename tests/{.funcall_parsing.err.expected => .parse_funcall.err.expected} (100%) rename tests/{.funcall_parsing.in.expected => .parse_funcall.in.expected} (100%) rename tests/{.funcall_parsing.out.expected => .parse_funcall.out.expected} (100%) rename tests/{.suffix_parsing.build.code.expected => .parse_suffix.build.code.expected} (100%) rename tests/{.suffix_parsing.build.err.expected => .parse_suffix.build.err.expected} (100%) rename tests/{.suffix_parsing.build.in.expected => .parse_suffix.build.in.expected} (100%) create mode 100644 tests/.parse_suffix.build.out.expected rename tests/{.suffix_parsing.code.expected => .parse_suffix.code.expected} (100%) rename tests/{.suffix_parsing.err.expected => .parse_suffix.err.expected} (100%) rename tests/{.suffix_parsing.in.expected => .parse_suffix.in.expected} (100%) rename tests/{.suffix_parsing.out.expected => .parse_suffix.out.expected} (100%) delete mode 100644 tests/.suffix_parsing.build.out.expected rename tests/{funcall_parsing.momo => parse_funcall.momo} (100%) rename tests/{suffix_parsing.momo => parse_suffix.momo} (100%) diff --git a/tests/.funcall_parsing.build.out.expected b/tests/.funcall_parsing.build.out.expected deleted file mode 100644 index 1bfcdeb..0000000 --- a/tests/.funcall_parsing.build.out.expected +++ /dev/null @@ -1,4 +0,0 @@ -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.build.code.expected b/tests/.parse_funcall.build.code.expected similarity index 100% rename from tests/.funcall_parsing.build.code.expected rename to tests/.parse_funcall.build.code.expected diff --git a/tests/.funcall_parsing.build.err.expected b/tests/.parse_funcall.build.err.expected similarity index 100% rename from tests/.funcall_parsing.build.err.expected rename to tests/.parse_funcall.build.err.expected diff --git a/tests/.funcall_parsing.build.in.expected b/tests/.parse_funcall.build.in.expected similarity index 100% rename from tests/.funcall_parsing.build.in.expected rename to tests/.parse_funcall.build.in.expected diff --git a/tests/.parse_funcall.build.out.expected b/tests/.parse_funcall.build.out.expected new file mode 100644 index 0000000..786b6f5 --- /dev/null +++ b/tests/.parse_funcall.build.out.expected @@ -0,0 +1,4 @@ +parse_funcall.momo:1:0 [FUNCALL] 'funcall()' +parse_funcall.momo:3:0 [FUNCALL] 'funcall(1)' +parse_funcall.momo:5:0 [FUNCALL] 'foo('bar': ???, 'baz': ???, 1, 2, 3)' +parse_funcall.momo:8:0 [FUNCALL] 'a(b(c('bar': ???, 'baz': ???)))' diff --git a/tests/.funcall_parsing.code.expected b/tests/.parse_funcall.code.expected similarity index 100% rename from tests/.funcall_parsing.code.expected rename to tests/.parse_funcall.code.expected diff --git a/tests/.funcall_parsing.err.expected b/tests/.parse_funcall.err.expected similarity index 100% rename from tests/.funcall_parsing.err.expected rename to tests/.parse_funcall.err.expected diff --git a/tests/.funcall_parsing.in.expected b/tests/.parse_funcall.in.expected similarity index 100% rename from tests/.funcall_parsing.in.expected rename to tests/.parse_funcall.in.expected diff --git a/tests/.funcall_parsing.out.expected b/tests/.parse_funcall.out.expected similarity index 100% rename from tests/.funcall_parsing.out.expected rename to tests/.parse_funcall.out.expected diff --git a/tests/.suffix_parsing.build.code.expected b/tests/.parse_suffix.build.code.expected similarity index 100% rename from tests/.suffix_parsing.build.code.expected rename to tests/.parse_suffix.build.code.expected diff --git a/tests/.suffix_parsing.build.err.expected b/tests/.parse_suffix.build.err.expected similarity index 100% rename from tests/.suffix_parsing.build.err.expected rename to tests/.parse_suffix.build.err.expected diff --git a/tests/.suffix_parsing.build.in.expected b/tests/.parse_suffix.build.in.expected similarity index 100% rename from tests/.suffix_parsing.build.in.expected rename to tests/.parse_suffix.build.in.expected diff --git a/tests/.parse_suffix.build.out.expected b/tests/.parse_suffix.build.out.expected new file mode 100644 index 0000000..5ff559b --- /dev/null +++ b/tests/.parse_suffix.build.out.expected @@ -0,0 +1,4 @@ +parse_suffix.momo:1:0 [UNARY] '('foo': ???) ++ ' +parse_suffix.momo:2:0 [UNARY] '('bar': ???) -- ' +parse_suffix.momo:3:0 [UNARY] '('a': ???) ++ ' +parse_suffix.momo:3:5 [UNARY] '('b': ???) -- ' diff --git a/tests/.suffix_parsing.code.expected b/tests/.parse_suffix.code.expected similarity index 100% rename from tests/.suffix_parsing.code.expected rename to tests/.parse_suffix.code.expected diff --git a/tests/.suffix_parsing.err.expected b/tests/.parse_suffix.err.expected similarity index 100% rename from tests/.suffix_parsing.err.expected rename to tests/.parse_suffix.err.expected diff --git a/tests/.suffix_parsing.in.expected b/tests/.parse_suffix.in.expected similarity index 100% rename from tests/.suffix_parsing.in.expected rename to tests/.parse_suffix.in.expected diff --git a/tests/.suffix_parsing.out.expected b/tests/.parse_suffix.out.expected similarity index 100% rename from tests/.suffix_parsing.out.expected rename to tests/.parse_suffix.out.expected diff --git a/tests/.suffix_parsing.build.out.expected b/tests/.suffix_parsing.build.out.expected deleted file mode 100644 index 993cfd0..0000000 --- a/tests/.suffix_parsing.build.out.expected +++ /dev/null @@ -1,4 +0,0 @@ -suffix_parsing.momo:1:0 [UNARY] '('foo': ???) ++ ' -suffix_parsing.momo:2:0 [UNARY] '('bar': ???) -- ' -suffix_parsing.momo:3:0 [UNARY] '('a': ???) ++ ' -suffix_parsing.momo:3:5 [UNARY] '('b': ???) -- ' diff --git a/tests/funcall_parsing.momo b/tests/parse_funcall.momo similarity index 100% rename from tests/funcall_parsing.momo rename to tests/parse_funcall.momo diff --git a/tests/suffix_parsing.momo b/tests/parse_suffix.momo similarity index 100% rename from tests/suffix_parsing.momo rename to tests/parse_suffix.momo -- 2.39.5