Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show lines in our facet tests that are outside of the range #2207

Merged
merged 2 commits into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,18 @@ for (final Item item : items) {
[Content] = 0:16-0:20
0| for (final Item item : items) {
>----<
1|

2| }


[Removal] = 0:16-0:21
0| for (final Item item : items) {
>-----<
1|

2| }


[Leading delimiter] = 0:15-0:16
0| for (final Item item : items) {
>-<
1|

2| }


[Trailing delimiter] = 0:20-0:21
0| for (final Item item : items) {
>-<
1|

2| }


[Domain] = 0:0-2:1
0| for (final Item item : items) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,18 @@ for (final Item item : items) {
[Content] = 0:11-0:15
0| for (final Item item : items) {
>----<
1|

2| }


[Removal] = 0:11-0:16
0| for (final Item item : items) {
>-----<
1|

2| }


[Leading delimiter] = 0:10-0:11
0| for (final Item item : items) {
>-<
1|

2| }


[Trailing delimiter] = 0:15-0:16
0| for (final Item item : items) {
>-<
1|

2| }


[Domain] = 0:0-2:1
0| for (final Item item : items) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,14 @@ for (final Item item : items) {
[Content] = 0:23-0:28
0| for (final Item item : items) {
>-----<
1|

2| }


[Removal] = 0:22-0:28
0| for (final Item item : items) {
>------<
1|

2| }


[Leading delimiter] = 0:22-0:23
0| for (final Item item : items) {
>-<
1|

2| }


[Domain] = 0:0-2:1
0| for (final Item item : items) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ function myFunk(arg1, arg2) {
[Range] = 0:16-0:26
0| function myFunk(arg1, arg2) {
>----------<
1|

2| }


[Domain] = 0:0-2:1
0| function myFunk(arg1, arg2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@ function myFunk(value) {
[Domain] = 0:16-0:21
0| function myFunk(value) {
>-----<
1|

2| }


[Insertion delimiter] = ", "
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@ else {

2| }
-<
3| else if (false) {

4|

5| }

6| else {

7|

8| }


[#1 Removal] = 0:0-3:5
0| if (true) {
Expand All @@ -39,60 +27,26 @@ else {
-
3| else if (false) {
-----<
4|

5| }

6| else {

7|

8| }


[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Removal] =
[#2 Domain] = 3:0-5:1
0| if (true) {

1|

2| }

3| else if (false) {
>-----------------
4|

5| }
-<
6| else {

7|

8| }


[#2 Insertion delimiter] = "\n"


[#3 Content] =
[#3 Removal] =
[#3 Domain] = 6:0-8:1
0| if (true) {

1|

2| }

3| else if (false) {

4|

5| }

6| else {
>------
7|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,15 @@ switch (value) {

[Content] =
[Domain] = 1:2-1:13
0| switch (value) {

1| case 0: { }
>-----------<
2| }


[Removal] = 1:0-1:13
0| switch (value) {

1| case 0: { }
>-------------<
2| }


[Leading delimiter] = 1:0-1:2
0| switch (value) {

1| case 0: { }
>--<
2| }


[Insertion delimiter] = "\n"
Original file line number Diff line number Diff line change
Expand Up @@ -18,62 +18,26 @@ finally {

2| }
-<
3| catch(error) {

4|

5| }

6| finally {

7|

8| }


[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Removal] =
[#2 Domain] = 3:0-5:1
0| try {

1|

2| }

3| catch(error) {
>--------------
4|

5| }
-<
6| finally {

7|

8| }


[#2 Insertion delimiter] = "\n"


[#3 Content] =
[#3 Removal] =
[#3 Domain] = 6:0-8:1
0| try {

1|

2| }

3| catch(error) {

4|

5| }

6| finally {
>---------
7|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,18 @@ class MyClass {
[Content] = 0:6-0:13
0| class MyClass {
>-------<
1|

2| }


[Removal] = 0:6-0:14
0| class MyClass {
>--------<
1|

2| }


[Leading delimiter] = 0:5-0:6
0| class MyClass {
>-<
1|

2| }


[Trailing delimiter] = 0:13-0:14
0| class MyClass {
>-<
1|

2| }


[Domain] = 0:0-2:1
0| class MyClass {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ do {

[Content] =
[Removal] = 2:9-2:13
0| do {

1|

2| } while (true);
>----<

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,14 @@ for (let i = 0; i < 10; ++i) {
[Content] = 0:16-0:22
0| for (let i = 0; i < 10; ++i) {
>------<
1|

2| }


[Removal] = 0:15-0:22
0| for (let i = 0; i < 10; ++i) {
>-------<
1|

2| }


[Leading delimiter] = 0:15-0:16
0| for (let i = 0; i < 10; ++i) {
>-<
1|

2| }


[Domain] = 0:0-2:1
0| for (let i = 0; i < 10; ++i) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ if (true) {
[Removal] = 0:4-0:8
0| if (true) {
>----<
1|

2| }


[Domain] = 0:0-2:1
0| if (true) {
Expand Down
Loading
Loading