From 275769b89d2aad157e9097d1271d917a98582072 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Wed, 13 Mar 2019 10:13:51 -0700 Subject: [PATCH] Add skip to group in test_compat (#29236) --- packages/flutter_test/lib/src/test_compat.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_test/lib/src/test_compat.dart b/packages/flutter_test/lib/src/test_compat.dart index 860d65a50f..848edec8a5 100644 --- a/packages/flutter_test/lib/src/test_compat.dart +++ b/packages/flutter_test/lib/src/test_compat.dart @@ -232,8 +232,8 @@ void test( /// avoid this flag if possible, and instead use the test runner flag `-n` to /// filter tests by name. @isTestGroup -void group(Object description, Function body) { - _declarer.group(description.toString(), body); +void group(Object description, Function body, { dynamic skip }) { + _declarer.group(description.toString(), body, skip: skip); } /// Registers a function to be run before tests.