mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-29 17:57:30 +00:00
Expose GetLanguageType (#2)
This commit is contained in:
@@ -177,6 +177,11 @@ public class EnryTest {
|
||||
assertFalse(Enry.isTest("src/java/foo.java"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getLanguageType() {
|
||||
assertEquals("data", Enry.getLanguageType("CSV"));
|
||||
}
|
||||
|
||||
void assertGuess(String language, boolean safe, Guess guess) {
|
||||
assertEquals(language, guess.language);
|
||||
assertEquals(safe, guess.safe);
|
||||
|
Reference in New Issue
Block a user