Skip to content

Commit 004e90d

Browse files
committed
Update unit.jl
1 parent 958a9c4 commit 004e90d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@testset "get_slurm_ntasks_int()" begin
22
c = withenv(SLURM_NTASKS => "12") do
3-
SlurmClusterManager.get_slurm_jobid_int()
3+
SlurmClusterManager.get_slurm_ntasks_int()
44
end
55
@test c == 12
66

77
withenv("SLURM_NTASKS" => nothing) do
8-
@test_throws ErrorException SlurmClusterManager.get_slurm_jobid_int()
8+
@test_throws ErrorException SlurmClusterManager.get_slurm_ntasks_int()
99
end
1010
end
1111

0 commit comments

Comments
 (0)