Skip to content

Commit 95bf05d

Browse files
committed
Add R6 variables in test
1 parent 05b989b commit 95bf05d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

crates/ark/src/lsp/indexer.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,14 @@ class <- R6Class(
499499
},
500500
public_method = function() {
501501
2
502-
}
502+
},
503+
public_variable = NA
503504
),
504505
private = list(
505506
private_method = function() {
506507
1
507-
}
508+
},
509+
private_variable = NA
508510
),
509511
other = list(
510512
other_method = function() {

crates/ark/src/lsp/snapshots/ark__lsp__indexer__tests__index_r6class.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ expression: entries
3939
key: "private_method",
4040
range: Range {
4141
start: Position {
42-
line: 11,
42+
line: 12,
4343
character: 8,
4444
},
4545
end: Position {
46-
line: 11,
46+
line: 12,
4747
character: 22,
4848
},
4949
},

0 commit comments

Comments
 (0)