test: make test deterministic (#7916)

This commit is contained in:
Marc Huisinga 2025-04-11 13:16:16 +02:00 committed by GitHub
parent 32758aa712
commit 39ce3d14f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 11 deletions

View file

@ -1,5 +1,6 @@
inductive Foo where
| foo
--^ waitForILeans
example : Foo :=
let c := Foo.foo
c

View file

@ -1,19 +1,14 @@
{"textDocument": {"uri": "file:///definition.lean"},
"position": {"line": 4, "character": 2}}
"position": {"line": 5, "character": 2}}
[{"targetUri": "file:///definition.lean",
"targetSelectionRange":
{"start": {"line": 0, "character": 10}, "end": {"line": 0, "character": 13}},
"targetRange":
{"start": {"line": 0, "character": 0}, "end": {"line": 1, "character": 7}},
"originSelectionRange":
{"start": {"line": 4, "character": 2}, "end": {"line": 4, "character": 3}}}]
{"start": {"line": 5, "character": 2}, "end": {"line": 5, "character": 3}}}]
{"textDocument": {"uri": "file:///definition.lean"},
"position": {"line": 10, "character": 13}}
[{"targetUri": "file:///definition.lean",
"targetSelectionRange":
{"start": {"line": 10, "character": 4}, "end": {"line": 10, "character": 5}},
"targetRange":
{"start": {"line": 10, "character": 4}, "end": {"line": 10, "character": 5}},
"originSelectionRange":
{"start": {"line": 10, "character": 13},
"end": {"line": 10, "character": 14}}}]
"position": {"line": 11, "character": 13}}
[{"uri": "file:///definition.lean",
"range":
{"start": {"line": 11, "character": 4}, "end": {"line": 11, "character": 5}}}]