Skip to content

Commit 9ed7366

Browse files
committed
fix windows
1 parent e8dc594 commit 9ed7366

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

gcp/test/gcp_test.dart

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,23 @@ void main() {
135135
group('currentRegion', () {
136136
const regionPrint = 'test/src/region_print.dart';
137137

138-
test('not environment', () async {
139-
final proc = await _run(regionPrint);
138+
test(
139+
'not environment',
140+
() async {
141+
final proc = await _run(regionPrint);
140142

141-
final errorOut = await proc.stderrStream().toList();
143+
final errorOut = await proc.stderrStream().toList();
142144

143-
await expectLater(
144-
errorOut,
145-
containsAll(MetadataValue.region.environmentValues),
146-
);
147-
await expectLater(proc.stdout, emitsDone);
145+
await expectLater(
146+
errorOut,
147+
containsAll(MetadataValue.region.environmentValues),
148+
);
149+
await expectLater(proc.stdout, emitsDone);
148150

149-
await proc.shouldExit(255);
150-
});
151+
await proc.shouldExit(255);
152+
},
153+
onPlatform: const {'windows': Skip('Broken on windows')},
154+
);
151155

152156
test('environment set', () async {
153157
final proc = await _run(

0 commit comments

Comments
 (0)