Skip to content

Commit 7cd5aa2

Browse files
Format Julia code (#1772)
Co-authored-by: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
1 parent d3cee1a commit 7cd5aa2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/compile.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,17 +248,17 @@ function fn_test_for_synchronize(x)
248248
return x .+ 1
249249
end
250250

251-
@testset "synchronize" begin
251+
@testset "synchronize" begin
252252
@test isnothing(Reactant.synchronize(1))
253253
@test isnothing(Reactant.synchronize([1, 2, 3]))
254254

255255
x = rand(Float32, 10)
256256

257257
@test isnothing(Reactant.synchronize(x))
258-
258+
259259
xr = Reactant.to_rarray(x)
260-
fsyncfalse = @compile sync=false fn_test_for_synchronize(xr)
261-
fsynctrue = @compile sync=true fn_test_for_synchronize(xr)
260+
fsyncfalse = @compile sync = false fn_test_for_synchronize(xr)
261+
fsynctrue = @compile sync = true fn_test_for_synchronize(xr)
262262

263263
ysyncfalse = fsyncfalse(xr)
264264
@test isnothing(Reactant.synchronize(ysyncfalse))
@@ -267,6 +267,6 @@ end
267267
@test isnothing(Reactant.synchronize(ysynctrue))
268268

269269
@test ysyncfalse == ysynctrue
270-
270+
271271
@test Reactant.synchronize((ysyncfalse, ysynctrue)) == nothing
272-
end
272+
end

0 commit comments

Comments
 (0)