Skip to content

Commit e083c75

Browse files
committed
don't reverse
1 parent 19706fd commit e083c75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/Test/src/Test.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -1582,8 +1582,8 @@ julia> @testset let logi = log(im), op = !iszero
15821582
end
15831583
Test Failed at none:3
15841584
Expression: op(real(logi))
1585-
Context: op = !iszero
1586-
logi = 0.0 + 1.5707963267948966im
1585+
Context: logi = 0.0 + 1.5707963267948966im
1586+
op = !iszero
15871587
15881588
ERROR: There was an error during testing
15891589
```
@@ -1641,7 +1641,7 @@ function testset_context(args, ex, source)
16411641
error("Malformed `let` expression is given")
16421642
end
16431643
test_ex = ex.args[2]
1644-
for context in reverse(contexts)
1644+
for context in contexts
16451645
test_ex = :($Test.@with_testset($ContextTestSet($(QuoteNode(context)), $context; $options...), $test_ex))
16461646
end
16471647
ex.args[2] = test_ex

0 commit comments

Comments
 (0)