Skip to content

Commit e40d715

Browse files
authored
add missing @test (EnzymeAD#352)
1 parent d82b31a commit e40d715

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/basic.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ end
140140

141141
@testset "ConcreteRArray" begin
142142
c = Reactant.ConcreteRArray(ones(50, 70))
143-
similar(c)
143+
sim_c = similar(c)
144+
@test typeof(sim_c) == typeof(c) && size(sim_c) == size(sim_c)
144145
end
145146

146147
@testset "Reactant.@code_hlo" begin

0 commit comments

Comments
 (0)