Fix nested tests (dart-lang/io#28)
diff --git a/pkgs/io/test/permissions_test.dart b/pkgs/io/test/permissions_test.dart
index 2874732..f6fcd78 100644
--- a/pkgs/io/test/permissions_test.dart
+++ b/pkgs/io/test/permissions_test.dart
@@ -21,15 +21,14 @@
expect(await isExecutable(shellNotExec), isFalse);
});
}, testOn: '!windows');
- group('on shell scripts [windows]', () {
- test('should always return true', () {
- test('should return true for "is_executable.sh"', () async {
- expect(await isExecutable(shellIsExec, isWindows: true), isTrue);
- });
- test('should return true for "is_not_executable.sh"', () async {
- expect(await isExecutable(shellNotExec, isWindows: true), isTrue);
- });
+ group('on shell scripts [windows]', () {
+ test('should return true for "is_executable.sh"', () async {
+ expect(await isExecutable(shellIsExec, isWindows: true), isTrue);
+ });
+
+ test('should return true for "is_not_executable.sh"', () async {
+ expect(await isExecutable(shellNotExec, isWindows: true), isTrue);
});
});
});