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:
@@ -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++) {
|
||||
|
Reference in New Issue
Block a user