OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library version_test; | 5 library version_test; |
6 | 6 |
7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
8 import 'test_pub.dart'; | 8 import 'test_pub.dart'; |
9 import '../lib/src/transcript.dart'; | 9 import '../lib/src/transcript.dart'; |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 expect(forEachToString(), equals("abc")); | 51 expect(forEachToString(), equals("abc")); |
52 transcript.add("d"); | 52 transcript.add("d"); |
53 expect(forEachToString(), equals("abcd")); | 53 expect(forEachToString(), equals("abcd")); |
54 transcript.add("e"); | 54 transcript.add("e"); |
55 expect(forEachToString(), equals("abcde")); | 55 expect(forEachToString(), equals("abcde")); |
56 transcript.add("f"); | 56 transcript.add("f"); |
57 expect(forEachToString(), equals("abcdef")); | 57 expect(forEachToString(), equals("abcdef")); |
58 }); | 58 }); |
59 | 59 |
60 } | 60 } |
OLD | NEW |