aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/ecma/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query/highlights/ecma/test.ts')
-rw-r--r--tests/query/highlights/ecma/test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/query/highlights/ecma/test.ts b/tests/query/highlights/ecma/test.ts
index ecdfa8929..fa926f930 100644
--- a/tests/query/highlights/ecma/test.ts
+++ b/tests/query/highlights/ecma/test.ts
@@ -1,15 +1,15 @@
class H {
pub_field = "Hello";
- // ^ @property
+ // ^ @variable.member
#priv_field = "World!";
- // ^ @property
+ // ^ @variable.member
#private_method() {
// ^ @function.method
return `${this.pub_field} -- ${this.#priv_field}`;
- // ^ @property
- // ^ @property
+ // ^ @variable.member
+ // ^ @variable.member
}
public_method() {