Skip to content

Commit 9385b6e

Browse files
committed
Fixing String in echoedData
1 parent 8597b61 commit 9385b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/network/HttpPostSnippetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void testHttpPost() throws IOException, InterruptedException {
4646
var result = HttpPostSnippet.httpPost("https://postman-echo.com/post", arguments);
4747
//This postman endpoint echoes the HTTP headers, request parameters, the contents
4848
//of the request body and the complete URI requested.
49-
var echoedData = "\"data\": \"Hello World\"";
49+
var echoedData = "\"data\":\"Hello World\"";
5050
assertThat(result.body(), containsString(echoedData));
5151
}
5252
}

0 commit comments

Comments
 (0)