1212import java .util .stream .Collectors ;
1313import java .util .stream .Stream ;
1414
15+ import org .junit .jupiter .api .Assertions ;
1516import org .junit .jupiter .api .BeforeEach ;
1617import org .junit .jupiter .api .Test ;
1718import org .junit .jupiter .api .io .TempDir ;
@@ -57,7 +58,7 @@ public void setup() {
5758 @ Test
5859 public void testFix42GenerationMatchesGolden () throws Exception {
5960 File outputDir = new File (tempFolder , "fix42" );
60- outputDir .mkdir ();
61+ Assertions . assertTrue ( outputDir .mkdir () );
6162 generateCode (fix42DictFile , "FIX42" , "quickfix.fix42" , outputDir );
6263 assertMatchesGolden (new File (goldenBase , "fix42" ), outputDir , "FIX42" );
6364 }
@@ -69,7 +70,7 @@ public void testFix42GenerationMatchesGolden() throws Exception {
6970 @ Test
7071 public void testFix44GenerationMatchesGolden () throws Exception {
7172 File outputDir = new File (tempFolder , "fix44" );
72- outputDir .mkdir ();
73+ Assertions . assertTrue ( outputDir .mkdir () );
7374 generateCode (fix44DictFile , "FIX44" , "quickfix.fix44" , outputDir );
7475 assertMatchesGolden (new File (goldenBase , "fix44" ), outputDir , "FIX44" );
7576 }
0 commit comments