Skip parameter meta tests on newer VM's where it's blocked on: https://github.com/dart-lang/sdk/issues/33774

This commit is contained in:
Tobe O 2018-07-09 11:08:01 -04:00
parent 015c3774cc
commit 1efd14cf7d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
import 'dart:io';
import 'package:io/ansi.dart';
import 'accepts_test.dart' as accepts; import 'accepts_test.dart' as accepts;
import 'anonymous_service_test.dart' as anonymous_service; import 'anonymous_service_test.dart' as anonymous_service;
import 'controller_test.dart' as controller; import 'controller_test.dart' as controller;
@ -22,6 +26,7 @@ import 'package:test/test.dart';
/// For running with coverage /// For running with coverage
main() { main() {
print(cyan.wrap('Running tests on ${Platform.version}'));
group('accepts', accepts.main); group('accepts', accepts.main);
group('anonymous service', anonymous_service.main); group('anonymous service', anonymous_service.main);
group('controller', controller.main); group('controller', controller.main);

View file

@ -17,7 +17,7 @@ Future printResponse(MockHttpResponse rs) {
void main() { void main() {
group('parameter_meta', parameterMetaTests, group('parameter_meta', parameterMetaTests,
skip: !Platform.version.contains('2.0.0-dev.6') skip: !Platform.version.contains('2.0.0')
? null ? null
: 'Blocked on https://github.com/dart-lang/sdk/issues/33774'); : 'Blocked on https://github.com/dart-lang/sdk/issues/33774');
} }