| Index: pkg/unittest/test/unittest_test.dart
|
| diff --git a/pkg/unittest/test/unittest_test.dart b/pkg/unittest/test/unittest_test.dart
|
| index 24ff29d73639bb0ad7fc7e0e7ae8be778412d007..f6a2f5dab31df02b917a100f4321ff80205d3d7d 100644
|
| --- a/pkg/unittest/test/unittest_test.dart
|
| +++ b/pkg/unittest/test/unittest_test.dart
|
| @@ -292,6 +292,11 @@ 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();
|
| }
|
| @@ -348,6 +353,8 @@ 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)
|
| };
|
|
|
|
|