| Index: pkg/analysis_services/test/correction/strings_test.dart
|
| diff --git a/pkg/analysis_services/test/correction/strings_test.dart b/pkg/analysis_services/test/correction/strings_test.dart
|
| index 2dca487e06b7d6256347fd697f4b8ae954964dd6..1847c2bfebc354af7ce299d338b1586bd3569ed4 100644
|
| --- a/pkg/analysis_services/test/correction/strings_test.dart
|
| +++ b/pkg/analysis_services/test/correction/strings_test.dart
|
| @@ -19,7 +19,6 @@ main() {
|
| @ReflectiveTestCase()
|
| class StringsTest {
|
| void test_capitalize() {
|
| - expect(capitalize(null), null);
|
| expect(capitalize(''), '');
|
| expect(capitalize('a'), 'A');
|
| expect(capitalize('abc'), 'Abc');
|
| @@ -35,6 +34,13 @@ class StringsTest {
|
| expect(compareStrings('b', 'a'), 1);
|
| }
|
|
|
| + void test_format() {
|
| + expect(format('Hello, {0}!', 'John'), 'Hello, John!');
|
| + expect(
|
| + format('{0} are you {1}ing?', 'What', 'read'),
|
| + 'What are you reading?');
|
| + }
|
| +
|
| void test_isBlank() {
|
| expect(isBlank(null), isTrue);
|
| expect(isBlank(''), isTrue);
|
|
|