mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-02-01 21:50:49 +01:00
Fix test list bug
This commit is contained in:
parent
f276ed4683
commit
9e4f63f317
@ -9,7 +9,7 @@ List<String> getFilePaths(String dirname) {
|
||||
final currentdir = Directory.current.path;
|
||||
final testDir = path.join(currentdir, 'test', dirname);
|
||||
final filenames = Directory(testDir).listSync();
|
||||
return filenames.map((filename) => path.join(testDir, filename.path));
|
||||
return filenames.map((filename) => path.join(testDir, filename.path)).toList();
|
||||
}
|
||||
|
||||
List getTestCases(String directoryName) {
|
||||
|
Loading…
Reference in New Issue
Block a user