Chromium Code Reviews| Index: tests/corelib/string_env_test.dart |
| =================================================================== |
| --- tests/corelib/string_env_test.dart (revision 0) |
| +++ tests/corelib/string_env_test.dart (revision 0) |
| @@ -0,0 +1,11 @@ |
| +// Copyright (c) 2013, 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. |
| + |
| +import "package:expect/expect.dart"; |
| + |
| +main() { |
| + Expect.equals("theDefault", |
| + const String.env("NOT_IN_ENV", defaultValue:"theDefault")); |
|
Lasse Reichstein Nielsen
2013/10/10 07:45:03
Indentation off by one.
|
| + Expect.equals("", const String.env("NOT_IN_ENV")); |
| +} |