We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1913fa commit bdd5606Copy full SHA for bdd5606
src/output_control.jl
@@ -1,5 +1,12 @@
1
# Test.get_test_result generates code that uses the following so we must import them
2
-using Test: Returned, Threw, eval_test
+using Test: Returned, Threw
3
+
4
+# depends on the version
5
+@static if VERSION ≤ v"1.12"
6
+ using Test: eval_test
7
+else
8
+ using Test: eval_test_comparison, eval_test_function
9
+end
10
11
"A cunning hack to carry extra message along with the original expression in a test"
12
struct ExprAndMsg
0 commit comments