Index: packages/matcher/test/string_matchers_test.dart |
diff --git a/packages/matcher/test/string_matchers_test.dart b/packages/matcher/test/string_matchers_test.dart |
index 38fa1295a22b2d80df3831a0eae3294d98f7ffad..5b5afe4ce4c8ecdd55e1a206ff18b1f057077442 100644 |
--- a/packages/matcher/test/string_matchers_test.dart |
+++ b/packages/matcher/test/string_matchers_test.dart |
@@ -2,10 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library matcher.string_matchers_test; |
- |
import 'package:matcher/matcher.dart'; |
-import 'package:test/test.dart' show test, group, expect; |
+import 'package:test/test.dart' show test, expect; |
import 'test_utils.dart'; |
@@ -51,7 +49,9 @@ void main() { |
test('equalsIgnoringWhitespace', () { |
shouldPass(' hello world ', equalsIgnoringWhitespace('hello world')); |
- shouldFail(' helloworld ', equalsIgnoringWhitespace('hello world'), |
+ shouldFail( |
+ ' helloworld ', |
+ equalsIgnoringWhitespace('hello world'), |
"Expected: 'hello world' ignoring whitespace " |
"Actual: ' helloworld ' " |
"Which: is 'helloworld' with whitespace compressed"); |
@@ -61,7 +61,9 @@ void main() { |
shouldPass('hello', startsWith('')); |
shouldPass('hello', startsWith('hell')); |
shouldPass('hello', startsWith('hello')); |
- shouldFail('hello', startsWith('hello '), |
+ shouldFail( |
+ 'hello', |
+ startsWith('hello '), |
"Expected: a string starting with 'hello ' " |
"Actual: 'hello'"); |
}); |
@@ -70,7 +72,9 @@ void main() { |
shouldPass('hello', endsWith('')); |
shouldPass('hello', endsWith('lo')); |
shouldPass('hello', endsWith('hello')); |
- shouldFail('hello', endsWith(' hello'), |
+ shouldFail( |
+ 'hello', |
+ endsWith(' hello'), |
"Expected: a string ending with ' hello' " |
"Actual: 'hello'"); |
}); |
@@ -98,7 +102,8 @@ void main() { |
'goodbye cruel world', stringContainsInOrder(['cruel', 'world'])); |
shouldPass('goodbye cruel world', |
stringContainsInOrder(['goodbye', 'cruel', 'world'])); |
- shouldFail('goodbye cruel world', |
+ shouldFail( |
+ 'goodbye cruel world', |
stringContainsInOrder(['goo', 'cruel', 'bye']), |
"Expected: a string containing 'goo', 'cruel', 'bye' in order " |
"Actual: 'goodbye cruel world'"); |