mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Correct Test cases
This commit is contained in:
@ -120,7 +120,7 @@ public class EnryTest {
|
|||||||
"extern int foo(void *bar);";
|
"extern int foo(void *bar);";
|
||||||
|
|
||||||
String[] result = Enry.getLanguages("foo.h", code.getBytes());
|
String[] result = Enry.getLanguages("foo.h", code.getBytes());
|
||||||
String[] expected = {"C", "C++", "Objective-C"};
|
String[] expected = {"C"};
|
||||||
assertArrayEquals(expected, result);
|
assertArrayEquals(expected, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user