Skip to content

Commit a059969

Browse files
committed
test: Make all color tests have color
1 parent c5443c4 commit a059969

33 files changed

+231
-130
lines changed

tests/fixtures/color/ann_eof.svg

Lines changed: 9 additions & 6 deletions
Loading

tests/fixtures/color/ann_eof.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ origin = "Cargo.toml"
1010
label = ""
1111
level = "Error"
1212
range = [4, 4]
13+
14+
[renderer]
15+
color = true

tests/fixtures/color/ann_insertion.svg

Lines changed: 9 additions & 6 deletions
Loading

tests/fixtures/color/ann_insertion.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ origin = "Cargo.toml"
1010
label = "'d' belongs here"
1111
level = "Error"
1212
range = [2, 2]
13+
14+
[renderer]
15+
color = true

tests/fixtures/color/ann_multiline.svg

Lines changed: 12 additions & 9 deletions
Loading

tests/fixtures/color/ann_multiline.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ fold = false
1616
label = "missing fields `lineno`, `content`"
1717
level = "Error"
1818
range = [31, 128]
19+
20+
[renderer]
21+
color = true

tests/fixtures/color/ann_multiline2.svg

Lines changed: 11 additions & 8 deletions
Loading

tests/fixtures/color/ann_multiline2.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ fold = false
1616
label = "this should not be on separate lines"
1717
level = "Error"
1818
range = [11, 19]
19+
20+
[renderer]
21+
color = true

tests/fixtures/color/ann_removed_nl.svg

Lines changed: 9 additions & 6 deletions
Loading

tests/fixtures/color/ann_removed_nl.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ origin = "Cargo.toml"
1010
label = ""
1111
level = "Error"
1212
range = [4, 5]
13+
14+
[renderer]
15+
color = true

0 commit comments

Comments
 (0)