aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-25 04:10:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-25 04:10:55 +0000
commit42d8e387418f0160a7a32ea72c2325bc42f741f6 (patch)
treeaab9afc7cdb1b88ac756d68386384cbc46be6210 /tests/fixtures
parent2341c38b4cb8f9a6059cdf833aa21dcafac9fae2 (diff)
parent157ad63d05ba9a5ac1ec749688d92550cf6b5c46 (diff)
downloadannotate-snippets-android14-qpr2-release.tar.gz
Change-Id: I91382c026b7bc4902766f7ecb73c0ef532a2883d
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/no-color/issue_52.toml16
-rw-r--r--tests/fixtures/no-color/issue_52.txt7
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/fixtures/no-color/issue_52.toml b/tests/fixtures/no-color/issue_52.toml
new file mode 100644
index 0000000..8d54613
--- /dev/null
+++ b/tests/fixtures/no-color/issue_52.toml
@@ -0,0 +1,16 @@
+[title]
+annotation_type = "Error"
+
+[[slices]]
+source = """
+
+
+invalid syntax
+"""
+line_start = 1
+origin = "path/to/error.rs"
+fold = true
+[[slices.annotations]]
+label = "error here"
+annotation_type = "Warning"
+range = [2,16]
diff --git a/tests/fixtures/no-color/issue_52.txt b/tests/fixtures/no-color/issue_52.txt
new file mode 100644
index 0000000..b1c6bf2
--- /dev/null
+++ b/tests/fixtures/no-color/issue_52.txt
@@ -0,0 +1,7 @@
+error
+ --> path/to/error.rs:3:1
+ |
+...
+3 | invalid syntax
+ | -------------- error here
+ | \ No newline at end of file