aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures/no-color/multiline_annotation3.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/no-color/multiline_annotation3.toml')
-rw-r--r--tests/fixtures/no-color/multiline_annotation3.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/fixtures/no-color/multiline_annotation3.toml b/tests/fixtures/no-color/multiline_annotation3.toml
new file mode 100644
index 0000000..21bbcd8
--- /dev/null
+++ b/tests/fixtures/no-color/multiline_annotation3.toml
@@ -0,0 +1,18 @@
+[[slices]]
+source = """
+This is an exampl
+e of an edge case of an annotation overflowing
+to exactly one character on next line.
+"""
+line_start = 26
+origin = "foo.txt"
+fold = false
+[[slices.annotations]]
+label = "this should not be on separate lines"
+annotation_type = "Error"
+range = [11, 18]
+
+[title]
+label = "spacing error found"
+id = "E####"
+annotation_type = "Error"