Files
neovim/runtime/tutor
Eduardo Rittner Coelho 8b8096500d fix(tutor): incorrect lines marked as correct #29833
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.
2024-08-16 10:35:13 -07:00
..