Correct Test cases

This commit is contained in:
Utsav Chokshi 2022-02-18 15:33:15 +05:30 committed by GitHub
parent 525ee9b302
commit 81f5d81b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }