Skip to content

Commit 99a1bc1

Browse files
committed
snaps
1 parent 3724d6c commit 99a1bc1

File tree

4 files changed

+29
-11
lines changed

4 files changed

+29
-11
lines changed

crates/quarto-markdown-pandoc/snapshots/error-corpus/json/005.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ expression: json_string
88
"details": [
99
{
1010
"content": {
11-
"content": "This is the opening delimiter for the emphasis",
11+
"content": "This is the opening '_' mark",
1212
"type": "markdown"
1313
},
1414
"kind": "info",
1515
"location": {
1616
"Original": {
1717
"end_offset": 12,
1818
"file_id": 0,
19-
"start_offset": 11
19+
"start_offset": 10
2020
}
2121
}
2222
}
@@ -33,6 +33,6 @@ expression: json_string
3333
"content": "I reached the end of the block before finding a closing '_' for the emphasis.",
3434
"type": "markdown"
3535
},
36-
"title": "Unclosed Emphasis"
36+
"title": "Unclosed Underscore Emphasis"
3737
}
3838
]

crates/quarto-markdown-pandoc/snapshots/error-corpus/json/007.snap

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ expression: json_string
55
[
66
{
77
"code": "Q-2-5",
8+
"details": [
9+
{
10+
"content": {
11+
"content": "This is the opening '_' mark",
12+
"type": "markdown"
13+
},
14+
"kind": "info",
15+
"location": {
16+
"Original": {
17+
"end_offset": 2,
18+
"file_id": 0,
19+
"start_offset": 1
20+
}
21+
}
22+
}
23+
],
824
"kind": "error",
925
"location": {
1026
"Original": {
@@ -17,6 +33,6 @@ expression: json_string
1733
"content": "I reached the end of the block before finding a closing '_' for the emphasis.",
1834
"type": "markdown"
1935
},
20-
"title": "Unclosed Emphasis"
36+
"title": "Unclosed Underscore Emphasis"
2137
}
2238
]

crates/quarto-markdown-pandoc/snapshots/error-corpus/text/005.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
source: crates/quarto-markdown-pandoc/tests/test_error_corpus.rs
33
expression: error_output
44
---
5-
[31mError:[0m [Q-2-5] Unclosed Emphasis
5+
[31mError:[0m [Q-2-5] Unclosed Underscore Emphasis
66
╭─[resources/error-corpus/005.qmd:1:18]
77
│
8-
[38;5;246m1 │[0m [38;5;249mU[0m[38;5;249mn[0m[38;5;249mf[0m[38;5;249mi[0m[38;5;249mn[0m[38;5;249mi[0m[38;5;249ms[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249md[0m[38;5;249m [0m[36m_[0m[38;5;249me[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mh[0m[38;5;249m.[0m
9-
[38;5;240m │[0m [36m┬[0m [31m┬[0m
10-
[38;5;240m │[0m [36m╰[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m This is the opening delimiter for the emphasis
8+
[38;5;246m1 │[0m [38;5;249mU[0m[38;5;249mn[0m[38;5;249mf[0m[38;5;249mi[0m[38;5;249mn[0m[38;5;249mi[0m[38;5;249ms[0m[38;5;249mh[0m[38;5;249me[0m[38;5;249md[0m[36m [0m[36m_[0m[38;5;249me[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mh[0m[38;5;249m.[0m
9+
[38;5;240m │[0m [36m─[0m[36m┬[0m [31m┬[0m
10+
[38;5;240m │[0m [36m╰[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m[36m─[0m This is the opening '_' mark
1111
 │ │
1212
 │ ╰── I reached the end of the block before finding a closing '_' for the emphasis.
1313
───╯

crates/quarto-markdown-pandoc/snapshots/error-corpus/text/007.snap

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
source: crates/quarto-markdown-pandoc/tests/test_error_corpus.rs
33
expression: error_output
44
---
5-
[31mError:[0m [Q-2-5] Unclosed Emphasis
5+
[31mError:[0m [Q-2-5] Unclosed Underscore Emphasis
66
╭─[resources/error-corpus/007.qmd:1:11]
77
│
8-
1 │ [_document](a)
9-
 │ ┬
8+
1 │ [_document](a)
9+
 │ ┬ ┬
10+
 │ ╰─────────── This is the opening '_' mark
11+
 │ │
1012
 │ ╰── I reached the end of the block before finding a closing '_' for the emphasis.
1113
───╯

0 commit comments

Comments
 (0)