Add skip to group in test_compat (#29236)

This commit is contained in:
Jonah Williams
2019-03-13 10:13:51 -07:00
committed by GitHub
parent 88a477cace
commit 275769b89d

View File

@@ -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.