summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser-errors
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2021-04-16 22:16:19 +0300
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2021-04-16 22:16:19 +0300
commit1e26bf23c22b2e425be3ee1b00326a0af129337f (patch)
tree22fa02e58c8d8e9e7aae6ce2841f552c3a6f3c3f /modules/gdscript/tests/scripts/parser-errors
parent49511d439124ab5a71defd22639737f45bd0ff70 (diff)
Rename GDScript test script filenames to use `snake_case`
Diffstat (limited to 'modules/gdscript/tests/scripts/parser-errors')
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-argument.gd6
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-argument.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.gd2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-colon.gd3
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-colon.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd6
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.gd3
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.gd3
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.gd3
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.out2
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.gd3
-rw-r--r--modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.out2
16 files changed, 0 insertions, 45 deletions
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-argument.gd b/modules/gdscript/tests/scripts/parser-errors/missing-argument.gd
deleted file mode 100644
index c56ad94095..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-argument.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-func args(a, b):
- print(a)
- print(b)
-
-func test():
- args(1,)
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-argument.out b/modules/gdscript/tests/scripts/parser-errors/missing-argument.out
deleted file mode 100644
index fc2a891109..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-argument.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_ANALYZER_ERROR
-Too few arguments for "args()" call. Expected at least 2 but received 1.
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.gd b/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.gd
deleted file mode 100644
index a1077e1985..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.gd
+++ /dev/null
@@ -1,2 +0,0 @@
-func test():
- var a = ("missing paren ->"
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.out b/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.out
deleted file mode 100644
index 7326afa33d..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-closing-expr-paren.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expected closing ")" after grouping expression.
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-colon.gd b/modules/gdscript/tests/scripts/parser-errors/missing-colon.gd
deleted file mode 100644
index 62cb633e9e..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-colon.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-func test():
- if true # Missing colon here.
- print("true")
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-colon.out b/modules/gdscript/tests/scripts/parser-errors/missing-colon.out
deleted file mode 100644
index 687b963bc8..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-colon.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expected ":" after "if" condition.
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd b/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd
deleted file mode 100644
index 116b0151da..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-func args(a, b):
- print(a)
- print(b)
-
-func test():
- args(1,2
diff --git a/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.out b/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.out
deleted file mode 100644
index 34ea7ac323..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/missing-paren-after-args.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expected closing ")" after call arguments.
diff --git a/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.gd b/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.gd
deleted file mode 100644
index 9ad77f1432..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-func test():
- print("Using spaces")
- print("Using tabs")
diff --git a/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.out b/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.out
deleted file mode 100644
index 6390de9788..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/mixing-tabs-spaces.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Used "\t" for indentation instead " " as used before in the file.
diff --git a/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.gd b/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.gd
deleted file mode 100644
index 3875ce3936..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Node
-func test():
- var a = $ # Expected some node path.
diff --git a/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.out b/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.out
deleted file mode 100644
index b3dc181a22..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/nothing-after-dollar.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expect node path as string or identifier after "$".
diff --git a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.gd b/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.gd
deleted file mode 100644
index 1836d42226..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Node
-func test():
- $MyNode/23 # Can't use number here.
diff --git a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.out b/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.out
deleted file mode 100644
index dcb4ccecb0..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar-slash.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expect node path after "/".
diff --git a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.gd b/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.gd
deleted file mode 100644
index 6fd2692d47..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Node
-func test():
- $23 # Can't use number here.
diff --git a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.out b/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.out
deleted file mode 100644
index b3dc181a22..0000000000
--- a/modules/gdscript/tests/scripts/parser-errors/wrong-value-after-dollar.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Expect node path as string or identifier after "$".