Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: tests/html/xsltprocessor_test.dart

Issue 11275054: Modified unittest to use new argument syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
});
}

Powered by Google App Engine
This is Rietveld 408576698