Skip to content
Snippets Groups Projects
Commit 3ac22b15 authored by Konstantin Scheglov's avatar Konstantin Scheglov Committed by Jacob MacDonald
Browse files

Require meta 1.1.5 and use @isTest and @isTestGroup to mark test() and group(). (#826)

parent 5700bd99
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
import 'dart:async';
import 'package:meta/meta.dart';
import 'package:path/path.dart' as p;
import 'src/backend/declarer.dart';
......@@ -130,6 +131,7 @@ Declarer get _declarer {
///
/// If multiple platforms match, the annotations apply in order as through
/// they were in nested groups.
@isTest
void test(description, body(),
{String testOn,
Timeout timeout,
......@@ -199,6 +201,7 @@ void test(description, body(),
///
/// If multiple platforms match, the annotations apply in order as through
/// they were in nested groups.
@isTestGroup
void group(description, body(),
{String testOn,
Timeout timeout,
......
......@@ -15,7 +15,7 @@ dependencies:
http_multi_server: '>=1.0.0 <3.0.0'
io: '^0.3.0'
js: '^0.6.0'
meta: '^1.1.0'
meta: '^1.1.5'
multi_server_socket: '^1.0.0'
node_preamble: '^1.3.0'
package_resolver: '^1.0.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment