Skip to content

Commit 3b2639d

Browse files
Clean up trailing whitespace in scope fixtures
1 parent e1f6322 commit 3b2639d

File tree

6 files changed

+31
-36
lines changed

6 files changed

+31
-36
lines changed

data/fixtures/scopes/csharp/comment.block.scope

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
Hello
33
world
44
*/
@@ -7,8 +7,8 @@
77
[Content] =
88
[Removal] =
99
[Domain] = 0:0-3:2
10-
>---
11-
0| /*
10+
>--
11+
0| /*
1212
1| Hello
1313
2| world
1414
3| */
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"hello world";
1+
"hello world";
22
---
33

44
[Content] =
55
[Removal] =
66
[Domain] = 0:0-0:13
77
>-------------<
8-
0| "hello world";
8+
0| "hello world";
99

1010
[Insertion delimiter] = " "
Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
1-
class MyClass {
2-
3-
}
1+
class Foo {}
42
---
53

6-
[Content] = 0:6-0:13
7-
>-------<
8-
0| class MyClass {
4+
[Content] = 0:6-0:9
5+
>---<
6+
0| class Foo {}
97

10-
[Removal] = 0:6-0:14
11-
>--------<
12-
0| class MyClass {
8+
[Removal] = 0:6-0:10
9+
>----<
10+
0| class Foo {}
1311

1412
[Leading delimiter] = 0:5-0:6
1513
>-<
16-
0| class MyClass {
14+
0| class Foo {}
1715

18-
[Trailing delimiter] = 0:13-0:14
19-
>-<
20-
0| class MyClass {
16+
[Trailing delimiter] = 0:9-0:10
17+
>-<
18+
0| class Foo {}
2119

22-
[Domain] = 0:0-2:1
23-
>---------------
24-
0| class MyClass {
25-
1|
26-
2| }
27-
-<
20+
[Domain] = 0:0-0:12
21+
>------------<
22+
0| class Foo {}
2823

2924
[Insertion delimiter] = " "

data/fixtures/scopes/javascript.core/textFragment/textFragment.comment.block2.scope

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
* hello
33
* world
44
*/
@@ -7,8 +7,8 @@
77
[Content] =
88
[Removal] =
99
[Domain] = 0:0-3:2
10-
>----
11-
0| /**
10+
>---
11+
0| /**
1212
1| * hello
1313
2| * world
1414
3| */

data/fixtures/scopes/python/condition/condition.if.scope

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if True: pass
2-
elif False: pass
2+
elif False: pass
33
else: pass
44
---
55

@@ -18,7 +18,7 @@ else: pass
1818
[#1 Domain] = 0:0-2:10
1919
>-------------
2020
0| if True: pass
21-
1| elif False: pass
21+
1| elif False: pass
2222
2| else: pass
2323
----------<
2424

@@ -27,18 +27,18 @@ else: pass
2727

2828
[#2 Content] = 1:5-1:10
2929
>-----<
30-
1| elif False: pass
30+
1| elif False: pass
3131

3232
[#2 Removal] = 1:4-1:10
3333
>------<
34-
1| elif False: pass
34+
1| elif False: pass
3535

3636
[#2 Leading delimiter] = 1:4-1:5
3737
>-<
38-
1| elif False: pass
38+
1| elif False: pass
3939

4040
[#2 Domain] = 1:0-1:16
4141
>----------------<
42-
1| elif False: pass
42+
1| elif False: pass
4343

4444
[#2 Insertion delimiter] = " "

data/fixtures/scopes/rust/ifStatement.scope

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
if true {}
1+
if true {}
22
else {};
33
---
44

55
[Content] =
66
[Removal] =
77
[Domain] = 0:0-1:7
8-
>-----------
9-
0| if true {}
8+
>----------
9+
0| if true {}
1010
1| else {};
1111
-------<
1212

0 commit comments

Comments
 (0)