Skip to content

Commit 57f458d

Browse files
authored
Merge pull request #106 from altendky/correct_example_assertion
2 parents 80c1638 + a1f7218 commit 57f458d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ something will happen::
134134
start_time = trio.current_time()
135135
await trio.sleep(1)
136136
end_time = trio.current_time()
137-
assert start_time - end_time == 1
137+
assert end_time - start_time == 1
138138

139139
In the version of this test we saw before that used real time, at the
140140
end we had to use a ``>=`` comparison, in order to account for

0 commit comments

Comments
 (0)