We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56230f4 commit c706098Copy full SHA for c706098
test/FileFormats/MOF/MOF.jl
@@ -113,8 +113,9 @@ function test_HS071()
113
MOI.set(model, MOI.NLPBlock(), HS071(x))
114
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
115
MOI.write_to_file(model, TEST_MOF_FILE)
116
- @test replace(read(TEST_MOF_FILE, String), '\r' => "") ==
117
- replace(read(joinpath(@__DIR__, "nlp.mof.json"), String), '\r' => "")
+ target = read(joinpath(@__DIR__, "nlp.mof.json"), String)
+ target = replace(, '\r' => "", ' ' => "", '\n' => "")
118
+ @test read(TEST_MOF_FILE, String) == target
119
_validate(TEST_MOF_FILE)
120
return
121
end
0 commit comments