This is an automated email from the ASF dual-hosted git repository.
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new a8d030b ParseCurlCommandActionTest: Fix checkstyle error on line
length
a8d030b is described below
commit a8d030b72099697a3844e77b2659731e3da602de
Author: pmouawad <[email protected]>
AuthorDate: Mon Oct 28 20:54:21 2019 +0100
ParseCurlCommandActionTest: Fix checkstyle error on line length
---
.../java/org/apache/jmeter/gui/action/ParseCurlCommandActionTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/src/protocol/http/src/test/java/org/apache/jmeter/gui/action/ParseCurlCommandActionTest.java
b/src/protocol/http/src/test/java/org/apache/jmeter/gui/action/ParseCurlCommandActionTest.java
index 5c46611..84d1fec 100644
---
a/src/protocol/http/src/test/java/org/apache/jmeter/gui/action/ParseCurlCommandActionTest.java
+++
b/src/protocol/http/src/test/java/org/apache/jmeter/gui/action/ParseCurlCommandActionTest.java
@@ -255,7 +255,8 @@ public class ParseCurlCommandActionTest {
assertEquals("@test.txt;type=text/foo",
httpSampler.getArguments().getArgument(0).getValue());
// test form data in httpsampler
- request = basicCurlParser.parse("curl -X PUT
\"https://www.example.com:123/12345?param1=value1¶m2=value2\" -H \"accept:
*/*\" -H \"X-XSRF-TOKEN: 1234\"");
+ request = basicCurlParser.parse(
+ "curl -X PUT
\"https://www.example.com:123/12345?param1=value1¶m2=value2\" -H \"accept:
*/*\" -H \"X-XSRF-TOKEN: 1234\"");
objs = new Object[]{request, ""};
httpSampler = (HTTPSamplerProxy) method.invoke(p, objs);
assertEquals(new
URL("https://www.example.com:123/12345?param1=value1¶m2=value2"),
httpSampler.getUrl());