aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/r/test.r9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/query/highlights/r/test.r b/tests/query/highlights/r/test.r
index c67df6096..667be4bea 100644
--- a/tests/query/highlights/r/test.r
+++ b/tests/query/highlights/r/test.r
@@ -5,7 +5,6 @@ init <- 1
r"{(\1\2)}" -> `%r%`
# ^ @string
-# ^ @string.escape
# ^ @operator
# ^ @variable
@@ -24,21 +23,21 @@ b <- list(name = "r", version = R.version$major)
# ^ @variable.parameter
# ^ @string
# ^ @operator
-# ^ @variable.member
+# ^ @variable
Lang$new(name = "r")$print()
-# ^ @function.method.call
+# ^ @variable
for(i in 1:10) {
# <- @keyword.repeat
-# ^ @keyword.repeat
+# ^ @keyword
}
add <- function(a, b = 1, ...) {
# ^ @keyword.function
# ^ @variable.parameter
# ^ @variable.parameter
-# ^ @keyword
+# ^ @constant.builtin
return(a + b)
}