Skip to content

Commit

Permalink
fix linux dictionary test order
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Jan 19, 2017
1 parent 3d186cd commit 82faa1f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tests/FormDataTests/SerializerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@ class SerializerTests: XCTestCase {
var expected = ""

expected += "--boundary42\r\n"
expected += "Content-Disposition: form-data; name=\"title\"\r\n"
expected += "Content-Type: text/plain; charset=us-ascii\r\n"
#if os(Linux)
expected += "Content-Type: text/plain; charset=us-ascii\r\n"
expected += "Content-Disposition: form-data; name=\"title\"\r\n"
#else
expected += "Content-Disposition: form-data; name=\"title\"\r\n"
expected += "Content-Type: text/plain; charset=us-ascii\r\n"
#endif
expected += "\r\n"
expected += "Systems should choose the 'best' type based on the local environment and references, in some cases even through user interaction.\r\n"
expected += "--boundary42\r\n"
Expand Down

0 comments on commit 82faa1f

Please sign in to comment.