Chromium Code Reviews| Index: sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
| diff --git a/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart b/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
| index c32c47f446a2f3247daff867100d36dbb3c3d050..736335d4262eea46a65acfe74fe9c61a05e8cccf 100644 |
| --- a/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
| +++ b/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
| @@ -17,42 +17,6 @@ import '../lib/markdown.dart'; |
| import 'markdown_test.dart'; |
| main() { |
| - group('countOccurrences', () { |
| - test('empty text returns 0', () { |
| - expect(dd.countOccurrences('', 'needle'), equals(0)); |
| - }); |
| - |
| - test('one occurrence', () { |
| - expect(dd.countOccurrences('bananarama', 'nara'), equals(1)); |
| - }); |
| - |
| - test('multiple occurrences', () { |
| - expect(dd.countOccurrences('bananarama', 'a'), equals(5)); |
| - }); |
| - |
| - test('overlapping matches do not count', () { |
| - expect(dd.countOccurrences('bananarama', 'ana'), equals(1)); |
| - }); |
| - }); |
| - |
| - group('repeat', () { |
| - test('zero times returns an empty string', () { |
| - expect(dd.repeat('ba', 0), isEmpty); |
| - }); |
| - |
| - test('one time returns the string', () { |
| - expect(dd.repeat('ba', 1), equals('ba')); |
| - }); |
| - |
| - test('multiple times', () { |
| - expect(dd.repeat('ba', 3), equals('bababa')); |
| - }); |
| - |
| - test('multiple times with a separator', () { |
| - expect(dd.repeat('ba', 3, separator: ' '), equals('ba ba ba')); |
| - }); |
| - }); |
| - |
| group('isAbsolute', () { |
| final doc = new dd.Dartdoc(); |
| @@ -216,7 +180,7 @@ main() { |
| }); |
| }); |
| - test('file does not exist', () { |
| + solo_test('file does not exist', () { |
|
Andrei Mouravski
2013/04/09 20:06:14
Forgot to remove.
nweiz
2013/04/09 20:09:53
Done.
|
| _testRunDartDoc(['test_files/this_file_does_not_exist.dart'], (result) { |
| expect(result.exitCode, 1); |
| }); |