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

Unified Diff: tests/corelib/iterable_join_test.dart

Issue 17977002: - Remove arguments definition test from the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/iterable_join_test.dart
===================================================================
--- tests/corelib/iterable_join_test.dart (revision 24474)
+++ tests/corelib/iterable_join_test.dart (working copy)
@@ -9,8 +9,8 @@
String toString() => "${count++}";
}
-testJoin(String expect, Iterable iterable, [String separator = ""]) {
- if (?separator) {
+testJoin(String expect, Iterable iterable, [String separator]) {
+ if (separator != null) {
Expect.equals(expect, iterable.join(separator));
} else {
Expect.equals(expect, iterable.join());

Powered by Google App Engine
This is Rietveld 408576698