1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-10-06 04:53:58 +02:00

Upgrade to 2.0.0, see changelog

This commit is contained in:
2021-07-25 22:57:02 +02:00
parent 527f58d679
commit c75f252a9c
44 changed files with 3557 additions and 3573 deletions

View File

@@ -7,7 +7,11 @@ import 'package:unofficial_jisho_api/api.dart';
final JsonEncoder encoder = JsonEncoder.withIndent(' ');
final String currentdir = Directory.current.path;
void writeCases(Function apiFunction, String folderName, List<String> queries) async {
void writeCases(
Function apiFunction,
String folderName,
List<String> queries,
) async {
final dir = path.join(currentdir, 'test', folderName);
for (var testCount = 0; testCount < queries.length; testCount++) {