| Index: test/chain_test.dart
|
| diff --git a/test/chain_test.dart b/test/chain_test.dart
|
| index cf8a61fa72f9e7643f223ea2cb1590c5c8765fe2..bfe322ce24d3103af54fca47d72114b61fdfc276 100644
|
| --- a/test/chain_test.dart
|
| +++ b/test/chain_test.dart
|
| @@ -479,6 +479,18 @@ void main() {
|
| });
|
| });
|
|
|
| + test("toString() ensures that all traces are aligned", () {
|
| + var chain = new Chain([
|
| + new Trace.parse('short 10:11 Foo.bar\n'),
|
| + new Trace.parse('loooooooooooong 10:11 Zop.zoop')
|
| + ]);
|
| +
|
| + expect(chain.toString(), equals(
|
| + 'short 10:11 Foo.bar\n'
|
| + '===== asynchronous gap ===========================\n'
|
| + 'loooooooooooong 10:11 Zop.zoop\n'));
|
| + });
|
| +
|
| var userSlashCode = p.join('user', 'code.dart');
|
| group('Chain.terse', () {
|
| test('makes each trace terse', () {
|
|
|