This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new a7f0d768177 Revise ExecuteProcessReporterFactoryTest (#16844)
a7f0d768177 is described below

commit a7f0d768177c6535690d776505db843adca7aa5f
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Apr 15 11:25:50 2022 +0800

    Revise ExecuteProcessReporterFactoryTest (#16844)
---
 .../sql/process/spi/ExecuteProcessReporterFactoryTest.java        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/process/spi/ExecuteProcessReporterFactoryTest.java
 
b/shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/process/spi/ExecuteProcessReporterFactoryTest.java
index 30794b14423..c0ab89adb55 100644
--- 
a/shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/process/spi/ExecuteProcessReporterFactoryTest.java
+++ 
b/shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/process/spi/ExecuteProcessReporterFactoryTest.java
@@ -25,11 +25,11 @@ import java.util.Optional;
 import static org.junit.Assert.assertTrue;
 
 public final class ExecuteProcessReporterFactoryTest {
-
+    
     @Test
     public void assertNewInstance() {
-        Optional<ExecuteProcessReporter> executeProcessReporter = 
ExecuteProcessReporterFactory.newInstance();
-        assertTrue(executeProcessReporter.isPresent());
-        assertTrue(executeProcessReporter.get() instanceof 
ExecuteProcessReporterFixture);
+        Optional<ExecuteProcessReporter> actual = 
ExecuteProcessReporterFactory.newInstance();
+        assertTrue(actual.isPresent());
+        assertTrue(actual.get() instanceof ExecuteProcessReporterFixture);
     }
 }

Reply via email to