Skip to content

Commit 8ffba95

Browse files
committed
swap test to see error on buildkite
1 parent 72be1db commit 8ffba95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cuda/layers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ end
282282
end
283283

284284
@testset "Dropout RNGs" begin
285-
@test_throws ArgumentError Flux.dropout(MersenneTwister(), CUDA.rand(Float32, 2, 3), 0.1)
285+
@test Flux.dropout(MersenneTwister(), CUDA.rand(Float32, 2, 3), 0.1) == 1
286286
@testset for layer in (Dropout, AlphaDropout)
287287
m = layer(0.1; rng = MersenneTwister(123))
288288
@test_throws ErrorException gpu(m)

0 commit comments

Comments
 (0)