Skip to content

Commit 351145b

Browse files
committed
fix tests
1 parent b90eb03 commit 351145b

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

packages/common/src/scopeSupportFacets/shellscript.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ const { supported } = ScopeSupportFacetLevel;
99

1010
export const shellscriptScopeSupport: LanguageScopeSupportFacetMap = {
1111
command: supported,
12+
"name.assignment": supported,
13+
"value.assignment": supported,
1214
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
local local_var="hello"
22
---
3+
4+
[Content] = 0:6-0:15
5+
0| local local_var="hello"
6+
>---------<
7+
8+
[Removal] = 0:0-0:16
9+
0| local local_var="hello"
10+
>----------------<
11+
12+
[Leading delimiter] = 0:5-0:6
13+
0| local local_var="hello"
14+
>-<
15+
16+
[Domain] = 0:0-0:23
17+
0| local local_var="hello"
18+
>-----------------------<
19+
20+
[Insertion delimiter] = " "
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
declare local_var="hello"
22
---
3+
4+
[Content] = 0:8-0:17
5+
0| declare local_var="hello"
6+
>---------<
7+
8+
[Removal] = 0:0-0:18
9+
0| declare local_var="hello"
10+
>------------------<
11+
12+
[Leading delimiter] = 0:7-0:8
13+
0| declare local_var="hello"
14+
>-<
15+
16+
[Domain] = 0:0-0:25
17+
0| declare local_var="hello"
18+
>-------------------------<
19+
20+
[Insertion delimiter] = " "
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
local local_var
22
---
3+
4+
[Content] = 0:6-0:15
5+
0| local local_var
6+
>---------<
7+
8+
[Removal] = 0:5-0:15
9+
0| local local_var
10+
>----------<
11+
12+
[Leading delimiter] = 0:5-0:6
13+
0| local local_var
14+
>-<
15+
16+
[Domain] = 0:0-0:15
17+
0| local local_var
18+
>---------------<
19+
20+
[Insertion delimiter] = " "

0 commit comments

Comments
 (0)