Skip to content

Commit

Permalink
Add skipped test due to dart-lang/build#2596
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jan 14, 2020
1 parent c1aff80 commit 2981961
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/init_library_reader_test.dart
Expand Up @@ -3,14 +3,6 @@ import 'dart:io';
import 'package:source_gen_test/src/init_library_reader.dart';
import 'package:test/test.dart';

Object _skipDart200() {
final travisDartVersion = Platform.environment['TRAVIS_DART_VERSION'];
if (travisDartVersion == '2.0.0') {
return 'Skipping on Dart 2.0.0';
}
return null;
}

// TODO: test initializeLibraryReader - but since
// `initializeLibraryReaderForDirectory` wraps it, not a big hurry
void main() {
Expand Down Expand Up @@ -59,6 +51,6 @@ void main() {
'Does not seem to reference a Dart library.')
.having((ae) => ae.name, 'name', 'targetLibraryFileName')),
);
}, skip: _skipDart200());
}, skip: 'See dart-lang/build#2596');
});
}

0 comments on commit 2981961

Please sign in to comment.