Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 17, 2023
1 parent e8dc594 commit 9ed7366
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions gcp/test/gcp_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,19 +135,23 @@ void main() {
group('currentRegion', () {
const regionPrint = 'test/src/region_print.dart';

test('not environment', () async {
final proc = await _run(regionPrint);
test(
'not environment',
() async {
final proc = await _run(regionPrint);

final errorOut = await proc.stderrStream().toList();
final errorOut = await proc.stderrStream().toList();

await expectLater(
errorOut,
containsAll(MetadataValue.region.environmentValues),
);
await expectLater(proc.stdout, emitsDone);
await expectLater(
errorOut,
containsAll(MetadataValue.region.environmentValues),
);
await expectLater(proc.stdout, emitsDone);

await proc.shouldExit(255);
});
await proc.shouldExit(255);
},
onPlatform: const {'windows': Skip('Broken on windows')},
);

test('environment set', () async {
final proc = await _run(
Expand Down

0 comments on commit 9ed7366

Please sign in to comment.