| Index: tests/html/element_test.dart
|
| diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
|
| index 80103cf136e7d52237e0545d78500ca19054d587..d849731461416dd145b009b2f5ec86b0b6fa0bf7 100644
|
| --- a/tests/html/element_test.dart
|
| +++ b/tests/html/element_test.dart
|
| @@ -596,23 +596,14 @@ main() {
|
| });
|
| });
|
|
|
| - group('supported_matches', () {
|
| - test('supported', () {
|
| - expect(Element.supportsMatches, true);
|
| - });
|
| - });
|
| -
|
| group('matches', () {
|
| test('matches', () {
|
| - var expectation = Element.supportsMatches ? returnsNormally : throws;
|
| - expect(() {
|
| - var element = new DivElement();
|
| - element.classes.add('test');
|
| -
|
| - expect(element.matches('div'), true);
|
| - expect(element.matches('span'), false);
|
| - expect(element.matches('.test'), true);
|
| - }, expectation);
|
| + var element = new DivElement();
|
| + element.classes.add('test');
|
| +
|
| + expect(element.matches('div'), true);
|
| + expect(element.matches('span'), false);
|
| + expect(element.matches('.test'), true);
|
| });
|
| });
|
|
|
|
|