Chromium Code Reviews| Index: samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart |
| diff --git a/samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart |
| index 9da20970d291609496fb9dd8bb916c74e105b4ca..17dc504a8ae7a01be10364427c4590497659961b 100644 |
| --- a/samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart |
| +++ b/samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart |
| @@ -11,7 +11,7 @@ void main() { |
| String str = 'null'; |
| // Very ugly way to build up the string, but let's mimic JS version as much as possible. |
| for (int i = 0; i < 1024; i++) { |
| - str = "$str${new String.fromCharCodes([((25 * Math.random()) + 97).toInt()])}"; |
| + str = "$str${new String.fromCharCodes([((25 * Math.random()) + 97).truncate()])}"; |
|
Lasse Reichstein Nielsen
2013/01/04 10:29:42
Line length.
|
| } |
| List<Node> elems = <Node>[]; |