You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2019/10/28 19:54:39 UTC

[jmeter] branch master updated: ParseCurlCommandActionTest: Fix checkstyle error on line length

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 <p....@ubik-ingenierie.com>
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&param2=value2\" -H  \"accept: */*\" -H  \"X-XSRF-TOKEN: 1234\"");
+        request = basicCurlParser.parse(
+                "curl -X PUT \"https://www.example.com:123/12345?param1=value1&param2=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&param2=value2"), httpSampler.getUrl());