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

Unified Diff: pkg/unittest/test/unittest_test.dart

Issue 14137024: Remove a test for testCases being immutable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/unittest_test.dart
diff --git a/pkg/unittest/test/unittest_test.dart b/pkg/unittest/test/unittest_test.dart
index f6a2f5dab31df02b917a100f4321ff80205d3d7d..24ff29d73639bb0ad7fc7e0e7ae8be778412d007 100644
--- a/pkg/unittest/test/unittest_test.dart
+++ b/pkg/unittest/test/unittest_test.dart
@@ -292,11 +292,6 @@ runTest() {
});
test('foo6', () {
});
- } else if (testName == 'testCases immutable') {
- test(testName, () {
- expect(() => testCases.clear(), throwsUnsupportedError);
- expect(() => testCases.removeLast(), throwsUnsupportedError);
- });
} else if (testName == 'runTests without tests') {
runTests();
}
@@ -353,8 +348,6 @@ main() {
'fail2:failure:'
'error2:Callback called more times than expected (1).:'
'foo6'),
- 'testCases immutable':
- buildStatusString(1, 0, 0, 'testCases immutable'),
'runTests without tests': buildStatusString(0, 0, 0, null)
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698