Skip to content

Commit fc89dbc

Browse files
committed
Switch back to repr but don't rely on output string (just check for error)
1 parent 76b1fca commit fc89dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cuda/cuda.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ end
4040

4141
@testset "onehot gpu" begin
4242
y = Flux.onehotbatch(ones(3), 1:2) |> gpu;
43-
@test (show("text/plain", y); true)
43+
@test (repr("text/plain", y); true)
4444
end
4545

4646
@testset "onecold gpu" begin

0 commit comments

Comments
 (0)