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 08d6b9f commit 65e006aCopy full SHA for 65e006a
test/runtests.jl
@@ -19,7 +19,7 @@ getjobstate = jobid -> begin
19
cmd = Cmd(`scontrol show jobid=$jobid`, ignorestatus=true)
20
info = read(cmd, String)
21
state = match(r"JobState=(\S*)", info)
22
- return isnothing(state) ? nothing : state.captures[1]
+ return state === nothing ? nothing : state.captures[1]
23
end
24
25
# wait for job to complete
0 commit comments