Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Jun 17, 2024
1 parent 9bb1d4d commit 693dae1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/lean/4448.lean.expected.out

This file was deleted.

3 changes: 1 addition & 2 deletions tests/lean/4448.lean → tests/lean/interactive/4448.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Lean

@[deprecated]
theorem hi : True := .intro

Expand All @@ -9,3 +7,4 @@ theorem hi_self : hi = hi := rfl

example : True := by
simp [← hi_self, hi]
--^ collectDiagnostics
21 changes: 21 additions & 0 deletions tests/lean/interactive/4448.lean.expected.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{"version": 1,
"uri": "file:///4448.lean",
"diagnostics":
[{"tags": [2],
"source": "Lean 4",
"severity": 2,
"range":
{"start": {"line": 8, "character": 10}, "end": {"line": 8, "character": 17}},
"message": "`hi_self` has been deprecated",
"fullRange":
{"start": {"line": 8, "character": 10},
"end": {"line": 8, "character": 17}}},
{"tags": [2],
"source": "Lean 4",
"severity": 2,
"range":
{"start": {"line": 8, "character": 19}, "end": {"line": 8, "character": 21}},
"message": "`hi` has been deprecated",
"fullRange":
{"start": {"line": 8, "character": 19},
"end": {"line": 8, "character": 21}}}]}

0 comments on commit 693dae1

Please sign in to comment.