mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Add skip to group in test_compat (#29236)
This commit is contained in:
parent
88a477cace
commit
275769b89d
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue