Index: tests/html/xsltprocessor_test.dart |
=================================================================== |
--- tests/html/xsltprocessor_test.dart (revision 14156) |
+++ tests/html/xsltprocessor_test.dart (working copy) |
@@ -7,9 +7,12 @@ |
useHtmlConfiguration(); |
+ var isXSLTProcessor = |
+ predicate((x) => x is XSLTProcessor, 'is an XSLTProcessor'); |
+ |
test('constructorTest', () { |
var processor = new XSLTProcessor(); |
- Expect.isTrue(processor != null); |
- Expect.isTrue(processor is XSLTProcessor); |
+ expect(processor, isNotNull); |
+ expect(processor, isXSLTProcessor); |
}); |
} |