Skip to content

Commit 895afef

Browse files
alexmarkovCommit Queue
authored andcommitted
[gardening] Fix generated vm/dart/generated/many_double_literals_test
The mistake in the test generation results in a huge number of syntax errors which cause timeouts and infra failures. TEST=vm/dart/generated/many_double_literals_test Change-Id: Ie21d5249b580b07af25ab5e498877f657eb0a9bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445240 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Alexander Markov <[email protected]>
1 parent 66bcc1e commit 895afef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/tests/vm/dart/generated/many_double_literals_generator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ main() {
1414
for (var i = 0; i < m; i++) {
1515
print("chunk${i}() {");
1616
for (var j = 0; j < n / m; j++) {
17-
print(" add(${n / m * i + j}.0);");
17+
print(" add(${n ~/ m * i + j}.0);");
1818
}
1919
print("}");
2020
}

0 commit comments

Comments
 (0)