mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
8b8096500d
Problem: In line 308 the poem appears as ✅1) Roses are red, ✅2) Mud is fun, ✅3) Violets are blue, ✅4) I have a car, ✅5) Clocks tell time, ✅6) Sugar is sweet ✅7) And so are you. where the wrong lines (2, 4, 5) are all marked as correct. Solution: Change the tutor.json file so that initially the poem appears as ✅1) Roses are red, ❌2) Mud is fun, ✅3) Violets are blue, ❌4) I have a car, ❌5) Clocks tell time, ❌6) Sugar is sweet ✅7) And so are you. The method for checking whether a line is correct or not is really simple, so I couldn't find a way to display the 6th line as initially correct, however upon deleting lines 2, 4 and 5 the final result shows line 6 as correct.
45 lines
1.9 KiB
JSON
45 lines
1.9 KiB
JSON
{
|
|
"expect": {
|
|
"103": "The cow jumped over the moon.",
|
|
"125": "There is some text missing from this line.",
|
|
"126": "There is some text missing from this line.",
|
|
"145": "There is some text missing from this line.",
|
|
"146": "There is some text missing from this line.",
|
|
"147": "There is also some text missing here.",
|
|
"148": "There is also some text missing here.",
|
|
"216": "There are some words that don't belong in this sentence.",
|
|
"232": "Somebody typed the end of this line twice.",
|
|
"271": -1,
|
|
"290": "This line of words is cleaned up.",
|
|
"307": "1) Roses are red,",
|
|
"308": "3) Violets are blue,",
|
|
"309": "6) Sugar is sweet",
|
|
"310": "7) And so are you.",
|
|
"311": "7) And so are you.",
|
|
"312": "7) And so are you.",
|
|
"313": "7) And so are you.",
|
|
"333": "Fix the errors on this line and replace them with undo.",
|
|
"379": -1,
|
|
"380": -1,
|
|
"381": -1,
|
|
"382": -1,
|
|
"398": "When this line was typed in, someone pressed some wrong keys!",
|
|
"399": "When this line was typed in, someone pressed some wrong keys!",
|
|
"419": "This line has a few words that need changing using the change operator.",
|
|
"420": "This line has a few words that need changing using the change operator.",
|
|
"440": "The end of this line needs to be corrected using the c$ command.",
|
|
"441": "The end of this line needs to be corrected using the c$ command.",
|
|
"504": -1,
|
|
"523": -1,
|
|
"546": "Usually the best time to see the flowers is in the spring.",
|
|
"741": -1,
|
|
"746": -1,
|
|
"762": "This line will allow you to practice appending text to a line.",
|
|
"763": "This line will allow you to practice appending text to a line.",
|
|
"783": "Adding 123 to 456 gives you 579.",
|
|
"784": "Adding 123 to 456 gives you 579.",
|
|
"810": "a) This is the first item.",
|
|
"811": "b) This is the second item."
|
|
}
|
|
}
|