You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/channels.jl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -642,6 +642,7 @@ end
642
642
@testset"Task properties"begin
643
643
f() =rand(2,2)
644
644
t =Task(f)
645
-
@test_throwsErrorException("Querying `scope` is disallowed. Use `current_scope` instead.") t.scope
645
+
message ="Querying a Task's `scope` field is disallowed.\nThe private `Core.current_scope()` function is better, though still an implementation detail."
0 commit comments