Chromium Code Reviews| Index: dart/frog/tests/leg/src/LinkTest.dart |
| diff --git a/dart/frog/tests/leg/src/LinkTest.dart b/dart/frog/tests/leg/src/LinkTest.dart |
| index e6a7f36c08e770d118de57ca798abab82535a03c..34d77ae2ea01a9a6fd78f97967f14b485536aebd 100644 |
| --- a/dart/frog/tests/leg/src/LinkTest.dart |
| +++ b/dart/frog/tests/leg/src/LinkTest.dart |
| @@ -6,12 +6,13 @@ |
| #import('../../../leg/util/util_implementation.dart'); |
| main() { |
| - test(LinkFactory.createLink('three').prepend(2).prepend('one'), |
| + test(new Link<Comparable>('three').prepend(2).prepend('one'), |
| ['one', 2, 'three']); |
| - test(LinkFactory.createLink(3).prepend('two').prepend(1), [1, 'two', 3]); |
| - test(LinkFactory.createLink('single'), ['single']); |
| + test(new Link<Comparable>(3).prepend('two').prepend(1), [1, 'two', 3]); |
| + test(new Link<String>('single'), ['single']); |
| test(new LinkTail(), []); |
| - testFromList([]); |
| + // TODO(ahe): Fails in checked mode. |
|
Ivan Posva
2011/11/14 16:32:21
Please verify whether this statement is still corr
ahe
2011/11/15 16:12:40
It isn't, and I have remove the comment in a new C
|
| + // testFromList([]); |
| testFromList([0]); |
| testFromList([0, 1]); |
| testFromList([0, 1, 2]); |
| @@ -21,7 +22,7 @@ main() { |
| } |
| testFromList(List list) { |
| - test(LinkFactory.createFromList(list), list); |
| + test(new Link.fromList(list), list); |
| } |
| test(Link link, List list) { |