394394 @test s isa Matrix{Float32}
395395 @test size (s) == (2 , 2 )
396396
397- s = similar (t, Float32, Int8 (2 ), 2 )
397+ s = similar (t, Float32, ( Int8 (2 ), 2 ) )
398398 @test s isa Matrix{Float32}
399399 @test size (s) == (2 , 2 )
400400
@@ -1212,7 +1212,7 @@ end
12121212# The following code defines `MyArray1/2/3` with different `BroadcastStyle`s.
12131213# 1. `MyArray1` and `MyArray1` have `similar` defined.
12141214# We use them to simulate `BroadcastStyle` overloading `Base.copyto!`.
1215- # 2. `MyArray3` has no `similar` defined.
1215+ # 2. `MyArray3` has no `similar` defined.
12161216# We use it to simulate `BroadcastStyle` overloading `Base.copy`.
12171217# 3. Their resolved style could be summaryized as (`-` means conflict)
12181218# | MyArray1 | MyArray2 | MyArray3 | Array
@@ -1308,7 +1308,7 @@ Base.BroadcastStyle(::Broadcast.ArrayStyle{MyArray2}, S::Broadcast.DefaultArrayS
13081308 f (s) = s .+ = 1
13091309 f (s)
13101310 @test (@allocated f (s)) == 0
1311-
1311+
13121312 # issue #185
13131313 A = StructArray (randn (ComplexF64, 3 , 3 ))
13141314 B = randn (ComplexF64, 3 , 3 )
@@ -1327,7 +1327,7 @@ Base.BroadcastStyle(::Broadcast.ArrayStyle{MyArray2}, S::Broadcast.DefaultArrayS
13271327
13281328 @testset " ambiguity check" begin
13291329 test_set = Any[StructArray ([1 ;2 + im]),
1330- 1 : 2 ,
1330+ 1 : 2 ,
13311331 (1 ,2 ),
13321332 StructArray (@SArray [1 ;1 + 2im ]),
13331333 (@SArray [1 2 ]),
0 commit comments