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.
229 lines
8.1 KiB
Text
229 lines
8.1 KiB
Text
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 4, "character": 5}, "end": {"line": 4, "character": 5}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: termination_by (n, m)",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 4, "character": 0},
|
|
"end": {"line": 4, "character": 15}},
|
|
"newText": "termination_by (n, m)"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 4, "character": 5}, "end": {"line": 4, "character": 5}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: termination_by (n, m):
|
|
{"title": "Try this: termination_by (n, m)",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 4, "character": 0},
|
|
"end": {"line": 4, "character": 15}},
|
|
"newText": "termination_by (n, m)"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 4, "character": 5}, "end": {"line": 4, "character": 5}},
|
|
"context": {"diagnostics": []}}}}
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 11, "character": 5}, "end": {"line": 11, "character": 5}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: termination_by structural n",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 11, "character": 0},
|
|
"end": {"line": 11, "character": 15}},
|
|
"newText": "termination_by structural n"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 11, "character": 5},
|
|
"end": {"line": 11, "character": 5}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: termination_by structural n:
|
|
{"title": "Try this: termination_by structural n",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 11, "character": 0},
|
|
"end": {"line": 11, "character": 15}},
|
|
"newText": "termination_by structural n"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 11, "character": 5}, "end": {"line": 11, "character": 5}},
|
|
"context": {"diagnostics": []}}}}
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 17, "character": 5}, "end": {"line": 17, "character": 5}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: termination_by structural x => x",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 17, "character": 0},
|
|
"end": {"line": 17, "character": 15}},
|
|
"newText": "termination_by structural x => x"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 17, "character": 5},
|
|
"end": {"line": 17, "character": 5}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: termination_by structural x => x:
|
|
{"title": "Try this: termination_by structural x => x",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 17, "character": 0},
|
|
"end": {"line": 17, "character": 15}},
|
|
"newText": "termination_by structural x => x"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 17, "character": 5}, "end": {"line": 17, "character": 5}},
|
|
"context": {"diagnostics": []}}}}
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 24, "character": 5}, "end": {"line": 24, "character": 5}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: termination_by n",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 24, "character": 0},
|
|
"end": {"line": 24, "character": 15}},
|
|
"newText": "termination_by n"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 24, "character": 5},
|
|
"end": {"line": 24, "character": 5}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: termination_by n:
|
|
{"title": "Try this: termination_by n",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 24, "character": 0},
|
|
"end": {"line": 24, "character": 15}},
|
|
"newText": "termination_by n"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 24, "character": 5}, "end": {"line": 24, "character": 5}},
|
|
"context": {"diagnostics": []}}}}
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 31, "character": 5}, "end": {"line": 31, "character": 5}},
|
|
"context": {"diagnostics": []}}
|
|
[{"title": "Try this: termination_by x1 => x1",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 31, "character": 0},
|
|
"end": {"line": 31, "character": 15}},
|
|
"newText": "termination_by x1 => x1"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 31, "character": 5},
|
|
"end": {"line": 31, "character": 5}},
|
|
"context": {"diagnostics": []}}}}]
|
|
Resolution of Try this: termination_by x1 => x1:
|
|
{"title": "Try this: termination_by x1 => x1",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges":
|
|
[{"textDocument":
|
|
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
|
|
"edits":
|
|
[{"range":
|
|
{"start": {"line": 31, "character": 0},
|
|
"end": {"line": 31, "character": 15}},
|
|
"newText": "termination_by x1 => x1"}]}]},
|
|
"data":
|
|
{"providerResultIndex": 0,
|
|
"providerName":
|
|
"_private.Lean.Meta.Tactic.TryThis.0.Lean.Meta.Tactic.TryThis.tryThisProvider",
|
|
"params":
|
|
{"textDocument": {"uri": "file:///terminationBySuggestion.lean"},
|
|
"range":
|
|
{"start": {"line": 31, "character": 5}, "end": {"line": 31, "character": 5}},
|
|
"context": {"diagnostics": []}}}}
|