mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-09-21 04:55:56 +02:00
Fix some bugs
This commit is contained in:
@@ -22,7 +22,7 @@ void runTestCases(List<String> testCaseFiles, String apiFunction) async {
|
||||
switch(apiFunction) {
|
||||
case 'searchForKanji': {
|
||||
final result = await jisho.searchForKanji(testCase['query']);
|
||||
expect(result, jsonDecode(testCase['expectedResult']));
|
||||
expect(result.toJson(), testCase['expectedResult']);
|
||||
break;
|
||||
}
|
||||
case 'searchForExamples': {
|
||||
|
Reference in New Issue
Block a user