about summary refs log tree commit diff stats
path: root/subx/056trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-03 23:31:03 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-03 23:33:48 -0800
commitddd2e9891e843279cf1c190c1ee7c5ceef9ef96b (patch)
treed6bba236bd6b28402436ce60e004decd0b951f78 /subx/056trace.subx
parent51b4f888dd20653bb218f06e1221a7007446fcd5 (diff)
downloadmu-ddd2e9891e843279cf1c190c1ee7c5ceef9ef96b.tar.gz
4951
Cleaner way to compare streams in tests.
Diffstat (limited to 'subx/056trace.subx')
-rw-r--r--subx/056trace.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/056trace.subx b/subx/056trace.subx
index 3b1a22e5..96e5646b 100644
--- a/subx/056trace.subx
+++ b/subx/056trace.subx
@@ -1,8 +1,8 @@
 # primitives for emitting traces to a 'trace' stream, and for tests to make assertions on its contents
 #
-# A trace stream looks like this:
-#   read : int  # index that we've read until
+# A trace stream looks like a regular stream:
 #   write : int  # index at which writes go
+#   read : int  # index that we've read until
 #   data : (array byte)  # prefixed by length as usual
 # In a real trace the data will be in a special segment set aside for the purpose.
 #