This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
{"textDocument": {"uri": "file:///tryThisCodeAction.lean"},
|
|
"range":
|
|
{"start": {"line": 0, "character": 22}, "end": {"line": 0, "character": 22}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: simp only",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument": {"version": 1, "uri": "file:///tryThisCodeAction.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 0, "character": 21},
|
|
"end": {"line": 0, "character": 26}},
|
|
"newText": "simp only"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///tryThisCodeAction.lean"},
|
|
"range":
|
|
{"start": {"line": 0, "character": 22},
|
|
"end": {"line": 0, "character": 22}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: simp only:
|
|
{"title": "Try this: simp only",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument": {"version": 1, "uri": "file:///tryThisCodeAction.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 0, "character": 21},
|
|
"end": {"line": 0, "character": 26}},
|
|
"newText": "simp only"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///tryThisCodeAction.lean"},
|
|
"range":
|
|
{"start": {"line": 0, "character": 22}, "end": {"line": 0, "character": 22}},
|
|
"context": {"diagnostics": []}}}}
|