mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-29 17:57:30 +00:00
enry-java: allow empty file contents
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
@@ -26,6 +26,7 @@ public class EnryTest {
|
||||
@Test
|
||||
public void getLanguageWithEmptyContent() {
|
||||
assertEquals("Go", Enry.getLanguage("baz.go", "".getBytes()));
|
||||
assertEquals("Go", Enry.getLanguage("baz.go", null));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user