Chromium Code Reviews| Index: tests/language/named_constructor_test.dart |
| =================================================================== |
| --- tests/language/named_constructor_test.dart (revision 13746) |
| +++ tests/language/named_constructor_test.dart (working copy) |
| @@ -1,25 +0,0 @@ |
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| -// 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. |
| - |
| -class NamedConstructorTest { |
| - int x_; |
| - |
| - NamedConstructorTest.fill(int x) { |
| - // Should resolve to the fill method |
| - fill(x); |
| - } |
| - |
| - void fill(int x) { |
| - x_ = x; |
| - } |
| - |
| - static testMain() { |
| - var a = new NamedConstructorTest.fill(3); |
| - assert(a.x_ == 3); |
| - } |
| -} |
| - |
| -main() { |
| - NamedConstructorTest.testMain(); |
| -} |
|
regis
2012/10/17 19:01:36
Why not make this test a negative test? Or is this
hausner
2012/10/17 19:05:50
It's covered by co19 test 6_Constructors_A01_t01
|