Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: tests/corelib/from_environment_const_type_undefined_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/corelib/from_environment_const_type_undefined_test.dart
diff --git a/tests/corelib/from_environment_const_type_undefined_test.dart b/tests/corelib/from_environment_const_type_undefined_test.dart
index dd89c831173fc22c5783c4328db9cde771b7b44a..d62e5666f3f3fb72969e4c3a452d4a60b80e7a56 100644
--- a/tests/corelib/from_environment_const_type_undefined_test.dart
+++ b/tests/corelib/from_environment_const_type_undefined_test.dart
@@ -7,31 +7,31 @@ import "package:expect/expect.dart";
class Foo {}
const
- bool /// 01: ok
- int /// 02: static type warning, checked mode compile-time error
- String /// 03: static type warning, checked mode compile-time error
- Foo /// 04: static type warning, checked mode compile-time error
+ bool //# 01: ok
+ int //# 02: static type warning, checked mode compile-time error
+ String //# 03: static type warning, checked mode compile-time error
+ Foo //# 04: static type warning, checked mode compile-time error
a = const bool.fromEnvironment('a');
const
- bool /// 05: ok
- int /// 06: static type warning, checked mode compile-time error
- String /// 07: static type warning, checked mode compile-time error
- Foo /// 08: static type warning, checked mode compile-time error
+ bool //# 05: ok
+ int //# 06: static type warning, checked mode compile-time error
+ String //# 07: static type warning, checked mode compile-time error
+ Foo //# 08: static type warning, checked mode compile-time error
b = const bool.fromEnvironment('b');
const
- bool /// 09: static type warning
- int /// 10: ok
- String /// 11: static type warning
- Foo /// 12: static type warning
+ bool //# 09: static type warning
+ int //# 10: ok
+ String //# 11: static type warning
+ Foo //# 12: static type warning
c = const int.fromEnvironment('c');
const
- bool /// 13: static type warning
- int /// 14: static type warning
- String /// 15: ok
- Foo /// 16: static type warning
+ bool //# 13: static type warning
+ int //# 14: static type warning
+ String //# 15: ok
+ Foo //# 16: static type warning
d = const String.fromEnvironment('d');
main() {

Powered by Google App Engine
This is Rietveld 408576698