From 1efd14cf7dbc25b9780614fffa4ceba02b7219dd Mon Sep 17 00:00:00 2001 From: Tobe O Date: Mon, 9 Jul 2018 11:08:01 -0400 Subject: [PATCH] Skip parameter meta tests on newer VM's where it's blocked on: https://github.com/dart-lang/sdk/issues/33774 --- test/all.dart | 5 +++++ test/parameter_meta_test.dart | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/all.dart b/test/all.dart index a2fa8822..8d69d1c1 100644 --- a/test/all.dart +++ b/test/all.dart @@ -1,3 +1,7 @@ +import 'dart:io'; + +import 'package:io/ansi.dart'; + import 'accepts_test.dart' as accepts; import 'anonymous_service_test.dart' as anonymous_service; import 'controller_test.dart' as controller; @@ -22,6 +26,7 @@ import 'package:test/test.dart'; /// For running with coverage main() { + print(cyan.wrap('Running tests on ${Platform.version}')); group('accepts', accepts.main); group('anonymous service', anonymous_service.main); group('controller', controller.main); diff --git a/test/parameter_meta_test.dart b/test/parameter_meta_test.dart index 376a1f03..c1460a33 100644 --- a/test/parameter_meta_test.dart +++ b/test/parameter_meta_test.dart @@ -17,7 +17,7 @@ Future printResponse(MockHttpResponse rs) { void main() { group('parameter_meta', parameterMetaTests, - skip: !Platform.version.contains('2.0.0-dev.6') + skip: !Platform.version.contains('2.0.0') ? null : 'Blocked on https://github.com/dart-lang/sdk/issues/33774'); }