Skip to content

Commit c00952b

Browse files
committed
Fix tests.
1 parent f4c4855 commit c00952b

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

test/LoopInvariants.fst.output.expected

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
- Expected failure:
33
- When using multiple invariants, they must all be in the "new" style without a binder.
44

5-
* Info at LoopInvariants.fst(77,4-77,8):
5+
* Info at LoopInvariants.fst(76,20-77,8):
66
- Expected failure:
7-
- rewrite: could not prove equality of
7+
- Could not prove equality of:
88
- Pulse.Lib.Reference.pts_to s 3
99
- Pulse.Lib.Reference.pts_to s 2
1010
- Assertion failed
1111
- The SMT solver could not prove the query. Use --query_stats for more
1212
details.
13-
- See also LoopInvariants.fst(77,4-77,10)
13+
- See also LoopInvariants.fst(76,20-77,10)
1414

15-
* Info at LoopInvariants.fst(88,4-88,8):
15+
* Info at LoopInvariants.fst(86,2-88,8):
1616
- Expected failure:
17-
- rewrite: could not prove equality of
17+
- Could not prove equality of:
1818
- Pulse.Lib.Reference.pts_to s 3
1919
- Pulse.Lib.Reference.pts_to s 2
2020
- Assertion failed
2121
- The SMT solver could not prove the query. Use --query_stats for more
2222
details.
23-
- See also LoopInvariants.fst(88,4-88,10)
23+
- See also LoopInvariants.fst(86,2-88,10)
2424

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
* Info at Bug174.fst(15,1-16,42):
1+
* Info at Bug174.fst(16,30-16,42):
22
- Expected failure:
3-
- rewrite: could not prove equality of
4-
- Pulse.Lib.Reference.pts_to r v
5-
- Pulse.Lib.Reference.pts_to r v
3+
- Ill-typed term: !r
4+
- Expected a term of type
5+
Pulse.Lib.Core.stt FStar.SizeT.t
6+
(r |-> Pulse.Class.PtsTo.Frac 1.0R v)
7+
(fun x ->
8+
r |-> Pulse.Class.PtsTo.Frac 1.0R v **
9+
Pulse.Lib.Core.rewrites_to x v)
610
- Assertion failed
711
- The SMT solver could not prove the query. Use --query_stats for more
812
details.
13+
- See also Bug174.fst(15,1-16,40)
914

test/bug-reports/ExistsErasedAndPureEqualities.fst.output.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
v#269 : FStar.Ghost.erased Prims.int,
1010
x#263 : Pulse.Lib.Reference.ref Prims.int
1111

12-
* Info at ExistsErasedAndPureEqualities.fst(70,4-71,21):
12+
* Info at ExistsErasedAndPureEqualities.fst(70,32-72,5):
1313
- Expected failure:
14-
- Failed to prove pure property: v == (*?u102*)_
14+
- Ill-typed term: pure (v == (*?u102*)_)
15+
- Expected a term of type slprop
1516
- Cannot check relation with uvars.
16-
- See also ExistsErasedAndPureEqualities.fst(70,23-71,15)
1717

0 commit comments

Comments
 (0)