/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
stdlib/Test/src/precompile.jl
15 строк
399 B
Keno Fischer
Move nargs/isva to CodeInfo (#54341)
11 май 2024, 07:45
Не верифицирован
11 май 2024, 07:45
d01d256
Код
Авторство
О чём код?
if Base.generating_output() let function example_payload() @testset "example" begin @test 1 == 1 @test_throws ErrorException error() @test_logs (:info, "Doing foo with n=2") @info "Doing foo with n=2" @test_broken 1 == 2 @test 1 ≈ 1.0000000000000001 end end redirect_stdout(example_payload, devnull) end end