mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
Problem: tests: need a test for the new-style tutor.tutor, patch
9.1.1384 broke the expected positions for the signs
Solution: Update all number keys in tutor.tutor.json to match the
correct line numbers in tutor.tutor, replace tabs by spaces,
add a screen-dump test to verify it does not regress
(Pham Bình An)
closes: vim/vim#17416
a541f1de2b
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"expect": {
|
|
"56": "This is text with **important information**",
|
|
"57": "This is text with **important information**",
|
|
"64": "TODO: Document '&variable'",
|
|
"65": "TODO: Document '&variable'",
|
|
"71": "# This is a level 1 header",
|
|
"72": "# This is a level 1 header",
|
|
"73": "### This is a level 3 header",
|
|
"74": "### This is a level 3 header",
|
|
"75": "# This is a header with a label {*label*}",
|
|
"76": "# This is a header with a label {*label*}",
|
|
"101": "A link to help for the ['breakindent']('breakindent') option",
|
|
"102": "A link to help for the ['breakindent']('breakindent') option",
|
|
"116": "A link to the [Links](*links*) section",
|
|
"117": "A link to the [Links](*links*) section",
|
|
"132": "A link to [the vim-tutor-mode tutorial](@tutor:tutor)",
|
|
"133": "A link to [the vim-tutor-mode tutorial](@tutor:tutor)",
|
|
"150": "~~~ viml",
|
|
"151": "echom 'the value of &number is'.string(&number)",
|
|
"152": "~~~",
|
|
"154": "~~~ viml",
|
|
"155": "echom 'the value of &number is'.string(&number)",
|
|
"156": "~~~",
|
|
"181": "~~~ normal",
|
|
"182": "d2w",
|
|
"183": "~~~",
|
|
"185": "~~~ normal",
|
|
"186": "d2w",
|
|
"187": "~~~",
|
|
"199": "`d2w`{normal}",
|
|
"200": "`d2w`{normal}",
|
|
"237": -1
|
|
}
|
|
}
|