Skip to content

Commit

Permalink
Remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaiyarasiganeshalingam committed Jun 16, 2023
1 parent 4de9c37 commit 970fdf4
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@
import org.testng.Assert;
import org.testng.annotations.Test;

import java.io.PrintStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -157,8 +155,6 @@ public void negativeTestConnectionPoolWithSpreadField() {
.filter(r -> r.diagnosticInfo().severity().equals(DiagnosticSeverity.ERROR))
.collect(Collectors.toList());
long availableErrors = diagnosticErrorStream.size();
PrintStream asd = System.out;
asd.println(Arrays.toString(diagnosticErrorStream.toArray()));
Assert.assertEquals(availableErrors, 3);
Assert.assertEquals(diagnosticErrorStream.get(0).diagnosticInfo().messageFormat(),
"invalid value: expected value is greater than one");
Expand Down

0 comments on commit 970fdf4

Please sign in to comment.