We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ade5e3 commit 1b7eb9aCopy full SHA for 1b7eb9a
test/fixtures/everything_at_once/results.json
@@ -4,8 +4,9 @@
4
"tests": [
5
{
6
"name": "first test",
7
- "test_code": "@test x == 1",
8
- "status": "pass"
+ "test_code": "@test f(1) == 1",
+ "status": "pass",
9
+ "output": "x = 1\n"
10
},
11
12
"name": "second test",
test/fixtures/everything_at_once/runtests.jl
@@ -1,9 +1,8 @@
1
using Test
2
3
@testset "first test" begin
- x = 1
- @show x # Debugging
- @test x == 1
+ f(x) = @show x
+ @test f(1) == 1
end
@testset "second test" begin
0 commit comments