Skip to content

Commit 1075b1a

Browse files
committed
Fix formatting
1 parent 0d19a0a commit 1075b1a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

test/FileFormats/LP/LP.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ function _test_int_round_trip(src)
11451145
end
11461146

11471147
function test_int_round_trip()
1148-
_test_int_round_trip(
1148+
for src in [
11491149
"""
11501150
minimize
11511151
obj: 1 + 2 x
@@ -1155,8 +1155,6 @@ function test_int_round_trip()
11551155
x >= 0
11561156
End
11571157
""",
1158-
)
1159-
_test_int_round_trip(
11601158
"""
11611159
minimize
11621160
obj: 1 x + [ 1 x ^ 2 ]/2
@@ -1166,8 +1164,6 @@ function test_int_round_trip()
11661164
x >= 0
11671165
End
11681166
""",
1169-
)
1170-
_test_int_round_trip(
11711167
"""
11721168
minimize
11731169
obj: [ 2 x ^ 2 ]/2
@@ -1177,8 +1173,6 @@ function test_int_round_trip()
11771173
x >= 0
11781174
End
11791175
""",
1180-
)
1181-
_test_int_round_trip(
11821176
"""
11831177
minimize
11841178
obj: [ 3 x ^ 2 + 4 x * y + 5 y ^ 2 ]/2
@@ -1189,7 +1183,9 @@ function test_int_round_trip()
11891183
y >= 1
11901184
End
11911185
""",
1192-
)
1186+
]
1187+
_test_int_round_trip(src)
1188+
end
11931189
return
11941190
end
11951191

0 commit comments

Comments
 (0)