Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Oct 6, 2025

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic master) to apply these changes.

Click here to view the suggested changes.
diff --git a/test/runtests.jl b/test/runtests.jl
index 766c204..983994d 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -279,7 +279,7 @@ println("Testing finished in $elapsed")
 # construct a testset to render the test results
 o_ts = Test.DefaultTestSet("Overall")
 function with_testset(f, testset)
-    @static if VERSION >= v"1.13.0-DEV.1044"
+    return @static if VERSION >= v"1.13.0-DEV.1044"
         Test.@with_testset testset f()
     else
         Test.push_testset(testset)
@@ -335,7 +335,7 @@ with_testset(o_ts) do
             # the test runner itself had some problem, so we may have hit a segfault,
             # deserialization errors or something similar.  Record this testset as Errored.
             fake = Test.DefaultTestSet(testname)
-            Test.record(fake, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack([(exception=resp,backtrace=[])]), LineNumberNode(1)))
+            Test.record(fake, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack([(exception = resp, backtrace = [])]), LineNumberNode(1)))
             with_testset(fake) do
                 Test.record(o_ts, fake)
             end
@@ -353,7 +353,7 @@ end
 println()
 Test.print_test_results(o_ts, 1)
 if (VERSION >= v"1.13.0-DEV.1037" && !Test.anynonpass(o_ts)) ||
-   (VERSION < v"1.13.0-DEV.1037" && !o_ts.anynonpass)
+        (VERSION < v"1.13.0-DEV.1037" && !o_ts.anynonpass)
     println("    \033[32;1mSUCCESS\033[0m")
 else
     println("    \033[31;1mFAILURE\033[0m\n")
diff --git a/test/setup.jl b/test/setup.jl
index e0f233d..e1b53c3 100644
--- a/test/setup.jl
+++ b/test/setup.jl
@@ -5,7 +5,7 @@ include("testsuite.jl")
 using Random
 
 if VERSION >= v"1.13.0-DEV.1044"
-using Base.ScopedValues
+    using Base.ScopedValues
 end
 
 ## entry point
@@ -61,8 +61,8 @@ function runtests(f, name)
         res
     end
 
-    @static if VERSION >= v"1.13.0-DEV.1044"
-        @with Test.TESTSET_PRINT_ENABLE=>false begin
+    return @static if VERSION >= v"1.13.0-DEV.1044"
+        @with Test.TESTSET_PRINT_ENABLE => false begin
             inner()
         end
     else

@maleadt maleadt merged commit 97bdfdb into master Oct 6, 2025
16 checks passed
@maleadt maleadt deleted the tb/nightly_test branch October 6, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants