File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
rlib-io/src/test/java/javasabr/rlib/io Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33import static org .junit .jupiter .api .Assertions .assertEquals ;
44import static org .junit .jupiter .api .Assertions .assertFalse ;
5+ import static org .junit .jupiter .api .Assertions .assertNull ;
56import static org .junit .jupiter .api .Assertions .assertTrue ;
67
78import javasabr .rlib .io .util .FileUtils ;
@@ -56,8 +57,8 @@ void shouldGetFileExtension() {
5657 assertEquals ("jpg" , FileUtils .getExtension (path4 ));
5758 assertEquals ("TxT" , FileUtils .getExtension (path5 ));
5859 assertEquals ("txt" , FileUtils .getExtension (path5 , true ));
59- assertEquals ( "" , FileUtils .getExtension (path6 ));
60- assertEquals ( "" , FileUtils .getExtension (path7 ));
60+ assertNull ( FileUtils .getExtension (path6 ));
61+ assertNull ( FileUtils .getExtension (path7 ));
6162 }
6263
6364 @ Test
You can’t perform that action at this time.
0 commit comments