Skip to content

Commit

Permalink
remove unnecessary changes to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Oct 19, 2022
1 parent 7e9fb1f commit 492d782
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions packages/patrol_cli/test/features/drive/test_finder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,15 @@ void main() {
fs.file('integration_test/app_test.dart').createSync(recursive: true);
fs.file('integration_test/permission_test.dart').createSync();

expect(
testFinder.findAllTests(),
equals([
'${wd.path}/integration_test/app_test.dart',
'${wd.path}/integration_test/permission_test.dart'
]),
);
expect(testFinder.findAllTests(), [
'${wd.path}/integration_test/app_test.dart',
'${wd.path}/integration_test/permission_test.dart'
]);
});

test('finds tests recursively', () {
fs.file('integration_test/app_test.dart').createSync(recursive: true);
fs.file('integration_test/permission_test.dart').createSync();
fs.file('integration_test/webview_test.dart').createSync();
fs
.file('integration_test/auth/sign_in_test.dart')
.createSync(recursive: true);
Expand All @@ -52,7 +48,6 @@ void main() {
equals([
'${wd.path}/integration_test/app_test.dart',
'${wd.path}/integration_test/permission_test.dart',
'${wd.path}/integration_test/webview_test.dart',
'${wd.path}/integration_test/auth/sign_in_test.dart',
]),
);
Expand Down

0 comments on commit 492d782

Please sign in to comment.