Skip to content

Commit

Permalink
add a multiline suggestion test
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Jul 25, 2020
1 parent 841d3bd commit 59989a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _testdata/suggestions.json
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{"message":"suggestion test","location":{"path":"_testdata/suggestions.go","range":{"start":{"line":3}}}, "suggestions": [{"range":{"start":{"line":3}}, "text": "func Suggestions() {"}]}
{"message":"suggestion test","location":{"path":"_testdata/suggestions.go","range":{"start":{"line":3}}}, "suggestions": [{"range":{"start":{"line":3}},"text": "func Suggestions() {"}]}
{"message":"multiline suggestion test","location":{"path":"_testdata/suggestions.go","range":{"start":{"line":3},"end":{"line":4}}}, "suggestions": [{"range":{"start":{"line":3},"end":{"line":4}}, "text": "func Suggestions() {\n// Multiline suggestion!\n} // end of suggestion func"}]}

0 comments on commit 59989a0

Please sign in to comment.