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

Side by Side Diff: tests/compiler/dart2js/cps_ir/input/codeUnitAt_2.dart

Issue 1576093003: cpsir unittests: move all unittests into individual files and test runners. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Bounds checking
2 foo(s) {
3 var sum = 0;
4 for (int i = 0; i < s.length; i++) sum += s.codeUnitAt(i);
5 return sum;
6 }
7 main() {
8 print(foo('ABC'));
9 print(foo('Hello'));
10 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/input/codeUnitAt_1.dart ('k') | tests/compiler/dart2js/cps_ir/input/constructor_1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698