From f3412176560ac9c425acd55ae10e307147ca63f9 Mon Sep 17 00:00:00 2001 From: "enzyme-ci-bot[bot]" <78882869+enzyme-ci-bot[bot]@users.noreply.github.com> Date: Sun, 19 Oct 2025 00:17:37 +0000 Subject: [PATCH] Format Julia code --- test/compile.jl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/compile.jl b/test/compile.jl index a1b5edb2c8..e52863a82b 100644 --- a/test/compile.jl +++ b/test/compile.jl @@ -248,17 +248,17 @@ function fn_test_for_synchronize(x) return x .+ 1 end -@testset "synchronize" begin +@testset "synchronize" begin @test isnothing(Reactant.synchronize(1)) @test isnothing(Reactant.synchronize([1, 2, 3])) x = rand(Float32, 10) @test isnothing(Reactant.synchronize(x)) - + xr = Reactant.to_rarray(x) - fsyncfalse = @compile sync=false fn_test_for_synchronize(xr) - fsynctrue = @compile sync=true fn_test_for_synchronize(xr) + fsyncfalse = @compile sync = false fn_test_for_synchronize(xr) + fsynctrue = @compile sync = true fn_test_for_synchronize(xr) ysyncfalse = fsyncfalse(xr) @test isnothing(Reactant.synchronize(ysyncfalse)) @@ -267,6 +267,6 @@ end @test isnothing(Reactant.synchronize(ysynctrue)) @test ysyncfalse == ysynctrue - + @test Reactant.synchronize((ysyncfalse, ysynctrue)) == nothing -end \ No newline at end of file +end