Skip to content

Commit 758c21d

Browse files
committed
Fix syntax error
1 parent dd34609 commit 758c21d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

test/wing_geometry/test_wing_geometry.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,24 +122,28 @@ end
122122
@test result[5] cm_left .* 0.25 .+ cm_right .* 0.75
123123

124124
bad_alpha_right = [-0.2, 0.05, 0.2]
125-
@test_throws ArgumentError("Alpha steps must be identical.") \
125+
@test_throws(
126+
ArgumentError("Alpha steps must be identical."),
126127
VortexStepMethod.calculate_new_aero_data(
127128
(POLAR_MATRICES, POLAR_MATRICES),
128129
(polar_left, (bad_alpha_right, delta, cl_right, cd_right, cm_right)),
129130
1,
130131
0.5,
131132
0.5,
132133
)
134+
)
133135

134136
bad_delta_right = [-0.1, 0.15]
135-
@test_throws ArgumentError("Delta steps must be identical.") \
137+
@test_throws(
138+
ArgumentError("Delta steps must be identical."),
136139
VortexStepMethod.calculate_new_aero_data(
137140
(POLAR_MATRICES, POLAR_MATRICES),
138141
(polar_left, (copy(alpha), bad_delta_right, cl_right, cd_right, cm_right)),
139142
1,
140143
0.5,
141144
0.5,
142145
)
146+
)
143147
end
144148

145149
@testset "Robustness left to right" begin

0 commit comments

Comments
 (0)