Skip to content

Commit 1b7eb9a

Browse files
committed
Restore debugging in everything_at_once
1 parent 4ade5e3 commit 1b7eb9a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/fixtures/everything_at_once/results.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"tests": [
55
{
66
"name": "first test",
7-
"test_code": "@test x == 1",
8-
"status": "pass"
7+
"test_code": "@test f(1) == 1",
8+
"status": "pass",
9+
"output": "x = 1\n"
910
},
1011
{
1112
"name": "second test",

test/fixtures/everything_at_once/runtests.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
using Test
22

33
@testset "first test" begin
4-
x = 1
5-
@show x # Debugging
6-
@test x == 1
4+
f(x) = @show x
5+
@test f(1) == 1
76
end
87

98
@testset "second test" begin

0 commit comments

Comments
 (0)