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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.