summaryrefslogtreecommitdiff
path: root/Test/vstte2012/RingBufferAuto.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/vstte2012/RingBufferAuto.dfy')
-rw-r--r--Test/vstte2012/RingBufferAuto.dfy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/vstte2012/RingBufferAuto.dfy b/Test/vstte2012/RingBufferAuto.dfy
index 7ce48fcc..aa7f171a 100644
--- a/Test/vstte2012/RingBufferAuto.dfy
+++ b/Test/vstte2012/RingBufferAuto.dfy
@@ -59,7 +59,7 @@ class {:autocontracts} RingBuffer<T>
ensures Valid() && fresh(Repr - old(Repr));
ensures x == old(Contents)[0] && Contents == old(Contents)[1..] && N == old(N);
{
- x := data[start];
+ x := data[start]; assert x == Contents[0];
start, len := if start + 1 == data.Length then 0 else start + 1, len - 1;
Contents := Contents[1..];
}