mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 07:21:22 +00:00
Correct Test cases
This commit is contained in:
parent
525ee9b302
commit
81f5d81b7b
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user