Ver código fonte

Renamed test and fixed copy/paste error in the failure condition.

Christian Noon 10 anos atrás
pai
commit
e5132d6e31
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      Tests/RequestTests.swift

+ 2 - 2
Tests/RequestTests.swift

@@ -278,7 +278,7 @@ class RequestResponseTestCase: BaseTestCase {
         }
     }
 
-    func testThatPOSTRequestWithUnicodeParametersEncodesAndTransmitsParametersAsExpected() {
+    func testPOSTRequestWithUnicodeParameters() {
         // Given
         let URLString = "https://httpbin.org/post"
         let parameters = [
@@ -320,7 +320,7 @@ class RequestResponseTestCase: BaseTestCase {
             XCTAssertEqual(form["arabic"], parameters["arabic"], "arabic parameter value should match form value")
             XCTAssertEqual(form["emoji"], parameters["emoji"], "emoji parameter value should match form value")
         } else {
-            XCTFail("headers parameter in JSON should not be nil")
+            XCTFail("form parameter in JSON should not be nil")
         }
     }