Author: pmouawad
Date: Sat May 12 08:16:42 2018
New Revision: 1831453

URL: http://svn.apache.org/viewvc?rev=1831453&view=rev
Log:
Tab space police

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java

Modified: 
jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java?rev=1831453&r1=1831452&r2=1831453&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java 
(original)
+++ jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java 
Sat May 12 08:16:42 2018
@@ -45,7 +45,7 @@ public class TestSimpleFunctions extends
 
     @Before
     public void setUp() {
-        result = new SampleResult();        
+        result = new SampleResult();
         jmctx = JMeterContextService.getContext();
         String data = "The quick brown fox";
         result.setResponseData(data, null);
@@ -174,21 +174,21 @@ public class TestSimpleFunctions extends
     }
 
     @Test
-       public void testThreadGroupName() throws Exception {
-               AbstractFunctionByKey function = new ThreadGroupName();
-               try {
-                       HTTPSamplerProxy httpRequest = new HTTPSamplerProxy();
-                       ThreadGroup threadGroup = new ThreadGroup();
-                       threadGroup.setName("ThreadGroup-1");
-                       JMeterContext context = 
JMeterContextService.getContext();
-                       context.setCurrentSampler(httpRequest);
-                       context.setThreadGroup(threadGroup);
-                       String ret = function.execute(result, httpRequest);
-                       assertEquals("ThreadGroup-1", ret);
-               } finally {
-                       FileServer.getFileServer().setScriptName(null);
-               }
-       }
+    public void testThreadGroupName() throws Exception {
+        AbstractFunctionByKey function = new ThreadGroupName();
+        try {
+            HTTPSamplerProxy httpRequest = new HTTPSamplerProxy();
+            ThreadGroup threadGroup = new ThreadGroup();
+            threadGroup.setName("ThreadGroup-1");
+            JMeterContext context = JMeterContextService.getContext();
+            context.setCurrentSampler(httpRequest);
+            context.setThreadGroup(threadGroup);
+            String ret = function.execute(result, httpRequest);
+            assertEquals("ThreadGroup-1", ret);
+        } finally {
+            FileServer.getFileServer().setScriptName(null);
+        }
+    }
 
     @Test
     public void testThreadGroupNameParameterCount() throws Exception {


Reply via email to