Skip to content

Commit

Permalink
remove sout.println from Test
Browse files Browse the repository at this point in the history
  • Loading branch information
cachescrubber committed Jan 9, 2022
1 parent 75a722c commit 4aaec1d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
import java.util.stream.Collectors;
import org.openapitools.codegen.languages.features.DocumentationProviderFeatures.AnnotationLibrary;
import org.openapitools.codegen.languages.features.DocumentationProviderFeatures.DocumentationProvider;
import org.testng.Assert;
import org.testng.annotations.Test;

// Tests are not final, methods currently just generate documentation as MD tables.
public class DocumentationProviderFeaturesTest {

@Test(priority = 0)
Expand All @@ -27,8 +29,7 @@ void generateDocumentationProviderTable() {
.collect(Collectors.joining(", "))
)));
sb.append("\n");

System.out.println(sb);
Assert.assertTrue(sb.toString().contains("none"));
}

@Test(priority = 1)
Expand All @@ -43,8 +44,7 @@ void generateAnnotationLibraryTable() {
dp.getDescription(),
dp.getPropertyName()
)));
Assert.assertTrue(sb.toString().contains("none"));
sb.append("\n");

System.out.println(sb);
}
}

0 comments on commit 4aaec1d

Please sign in to comment.