summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
commit9ab5cedef6de32826b9184e960b3880df3888a5a (patch)
tree56392d3be9a67f454d51d4d859a5844a0930c8ef /modules/gdscript/tests/scripts/parser
parent37e5a71f5da86c090850d8e30cdcc890dd903d61 (diff)
parent745f8e112fcf5d61e0fc377bdbc2539dd6b16ef9 (diff)
downloadredot-engine-9ab5cedef6de32826b9184e960b3880df3888a5a.tar.gz
Merge pull request #87712 from akien-mga/revert-gdscript-uid-annotations-for-now
Revert "Add UID support to GDScript files" (for now)
Diffstat (limited to 'modules/gdscript/tests/scripts/parser')
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_duplicate.gd5
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_duplicate.out2
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_invalid.gd4
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_invalid.out2
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_too_late.gd5
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/uid_too_late.out2
-rw-r--r--modules/gdscript/tests/scripts/parser/features/uid.gd5
-rw-r--r--modules/gdscript/tests/scripts/parser/features/uid.out1
8 files changed, 0 insertions, 26 deletions
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.gd b/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.gd
deleted file mode 100644
index 4ded8e65db..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-@uid("uid://c4ckv3ryprcn4")
-@uid("uid://c4ckv3ryprcn4")
-
-func test():
- pass
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.out b/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.out
deleted file mode 100644
index be1061401a..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_duplicate.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-"@uid" annotation can only be used once.
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_invalid.gd b/modules/gdscript/tests/scripts/parser/errors/uid_invalid.gd
deleted file mode 100644
index 114d5b7e98..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_invalid.gd
+++ /dev/null
@@ -1,4 +0,0 @@
-@uid("not a valid uid")
-
-func test():
- pass
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_invalid.out b/modules/gdscript/tests/scripts/parser/errors/uid_invalid.out
deleted file mode 100644
index 83f9f63cbf..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_invalid.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-The annotated UID is invalid.
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_too_late.gd b/modules/gdscript/tests/scripts/parser/errors/uid_too_late.gd
deleted file mode 100644
index 2b332447b7..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_too_late.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-extends Object
-@uid("uid://c4ckv3ryprcn4")
-
-func test():
- pass
diff --git a/modules/gdscript/tests/scripts/parser/errors/uid_too_late.out b/modules/gdscript/tests/scripts/parser/errors/uid_too_late.out
deleted file mode 100644
index 328459923f..0000000000
--- a/modules/gdscript/tests/scripts/parser/errors/uid_too_late.out
+++ /dev/null
@@ -1,2 +0,0 @@
-GDTEST_PARSER_ERROR
-Annotation "@uid" must be at the top of the script, before "extends" and "class_name".
diff --git a/modules/gdscript/tests/scripts/parser/features/uid.gd b/modules/gdscript/tests/scripts/parser/features/uid.gd
deleted file mode 100644
index 4070500608..0000000000
--- a/modules/gdscript/tests/scripts/parser/features/uid.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-@uid("uid://c4ckv3ryprcn4")
-extends Object
-
-func test():
- pass
diff --git a/modules/gdscript/tests/scripts/parser/features/uid.out b/modules/gdscript/tests/scripts/parser/features/uid.out
deleted file mode 100644
index d73c5eb7cd..0000000000
--- a/modules/gdscript/tests/scripts/parser/features/uid.out
+++ /dev/null
@@ -1 +0,0 @@
-GDTEST_OK