use child @testset
to get nicer test summary (#618)
#554
Annotations
6 errors, 1 warning, and 1 notice
Documentation:
src/construct.jl#L635
doctest failure in ~/work/JuliaInterpreter.jl/JuliaInterpreter.jl/src/construct.jl:635-651
```jldoctest
julia> mymethod(x) = x+1;
julia> JuliaInterpreter.enter_call(mymethod, 1)
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
julia> mymethod(x::Vector{T}) where T = 1;
julia> JuliaInterpreter.enter_call(mymethod, [1.0, 2.0])
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
```
Subexpression:
JuliaInterpreter.enter_call(mymethod, 1)
Evaluated output:
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 └── return %1
x = 1
Expected output:
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
diff =
Warning: Diff output requires color.
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 2 └── return %1
x = 1
|
Documentation:
src/construct.jl#L635
doctest failure in ~/work/JuliaInterpreter.jl/JuliaInterpreter.jl/src/construct.jl:635-651
```jldoctest
julia> mymethod(x) = x+1;
julia> JuliaInterpreter.enter_call(mymethod, 1)
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
julia> mymethod(x::Vector{T}) where T = 1;
julia> JuliaInterpreter.enter_call(mymethod, [1.0, 2.0])
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
```
Subexpression:
JuliaInterpreter.enter_call(mymethod, [1.0, 2.0])
Evaluated output:
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 ─ return 1
x = [1.0, 2.0]
T = Float64
Expected output:
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
diff =
Warning: Diff output requires color.
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1* 1 ─ return 1
x = [1.0, 2.0]
T = Float64
|
Documentation:
src/construct.jl#L215
doctest failure in ~/work/JuliaInterpreter.jl/JuliaInterpreter.jl/src/construct.jl:215-233
```jldoctest
julia> mymethod(x::Vector{T}) where T = 1;
julia> framecode, frameargs, lenv, argtypes = JuliaInterpreter.prepare_call(mymethod, [mymethod, [1.0,2.0]]);
julia> framecode
1 1 1 ─ return 1
julia> frameargs
2-element Vector{Any}:
mymethod (generic function with 1 method)
[1.0, 2.0]
julia> lenv
svec(Float64)
julia> argtypes
Tuple{typeof(mymethod), Vector{Float64}}
```
Subexpression:
framecode
Evaluated output:
1 1 ─ return 1
Expected output:
1 1 1 ─ return 1
diff =
Warning: Diff output requires color.
1 1 1 1 ─ return 1
|
Documentation:
src/construct.jl#L1
doctest failure in ~/work/JuliaInterpreter.jl/JuliaInterpreter.jl/src/construct.jl
```jldoctest
julia> mymethod(x) = x+1;
julia> JuliaInterpreter.enter_call_expr(:($mymethod(1)))
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
julia> mymethod(x::Vector{T}) where T = 1;
julia> a = [1.0, 2.0]
2-element Vector{Float64}:
1.0
2.0
julia> JuliaInterpreter.enter_call_expr(:($mymethod($a)))
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
```
Subexpression:
JuliaInterpreter.enter_call_expr(:($mymethod(1)))
Evaluated output:
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 └── return %1
x = 1
Expected output:
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
diff =
Warning: Diff output requires color.
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 2 └── return %1
x = 1
|
Documentation:
src/construct.jl#L1
doctest failure in ~/work/JuliaInterpreter.jl/JuliaInterpreter.jl/src/construct.jl
```jldoctest
julia> mymethod(x) = x+1;
julia> JuliaInterpreter.enter_call_expr(:($mymethod(1)))
Frame for mymethod(x) @ Main none:1
1* 1 1 ─ %1 = x + 1
2 1 └── return %1
x = 1
julia> mymethod(x::Vector{T}) where T = 1;
julia> a = [1.0, 2.0]
2-element Vector{Float64}:
1.0
2.0
julia> JuliaInterpreter.enter_call_expr(:($mymethod($a)))
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
```
Subexpression:
JuliaInterpreter.enter_call_expr(:($mymethod($a)))
Evaluated output:
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 ─ return 1
x = [1.0, 2.0]
T = Float64
Expected output:
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1 ─ return 1
x = [1.0, 2.0]
T = Float64
diff =
Warning: Diff output requires color.
Frame for mymethod(x::Vector{T}) where T @ Main none:1
1* 1 1* 1 ─ return 1
x = [1.0, 2.0]
T = Float64
|
Documentation
Process completed with exit code 1.
|
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|