summaryrefslogtreecommitdiff
path: root/lang/julia/files/patch-test_errorshow.jl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/julia/files/patch-test_errorshow.jl')
-rw-r--r--lang/julia/files/patch-test_errorshow.jl18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/julia/files/patch-test_errorshow.jl b/lang/julia/files/patch-test_errorshow.jl
new file mode 100644
index 000000000000..a11ca351aa04
--- /dev/null
+++ b/lang/julia/files/patch-test_errorshow.jl
@@ -0,0 +1,18 @@
+--- test/errorshow.jl.orig 2024-08-27 21:19:31 UTC
++++ test/errorshow.jl
+@@ -713,6 +713,7 @@ backtrace()
+ backtrace()
+
+ # issue #28442
++if false
+ @testset "Long stacktrace printing" begin
+ f28442(c) = g28442(c + 1)
+ g28442(c) = c > 10000 ? (return backtrace()) : f28442(c+1)
+@@ -726,6 +727,7 @@ backtrace()
+ @test occursin("f28442", output[5])
+ @test occursin("the last 2 lines are repeated 5000 more times", output[7])
+ @test lstrip(output[8])[1:7] == "[10003]"
++end
+ end
+
+ @testset "Line number correction" begin