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

Unified Diff: tests/standalone/io/file_input_stream_test.dart

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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
« no previous file with comments | « tests/standalone/crypto/base64_test.dart ('k') | tests/standalone/io/file_system_links_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_input_stream_test.dart
diff --git a/tests/standalone/io/file_input_stream_test.dart b/tests/standalone/io/file_input_stream_test.dart
index 31733b06b97f615b4edc135d506a80c6b98e161e..1b7475d6f8af1b0d9fe832ea11f3288c8d50e457 100644
--- a/tests/standalone/io/file_input_stream_test.dart
+++ b/tests/standalone/io/file_input_stream_test.dart
@@ -33,7 +33,7 @@ void testStringInputStreamSync() {
void testInputStreamAsync() {
String fileName = getFilename("tests/standalone/io/readuntil_test.dat");
// File contains "Hello Dart\nwassup!\n"
- var expected = "Hello Dart\nwassup!\n".charCodes();
+ var expected = "Hello Dart\nwassup!\n".charCodes;
InputStream x = (new File(fileName)).openInputStream();
var byteCount = 0;
x.onData = () {
@@ -95,7 +95,7 @@ void testChunkedInputStream() {
void testUnreadyInputStream() {
String fileName = getFilename("tests/standalone/io/readuntil_test.dat");
- var expected = "Hello Dart\nwassup!\n".charCodes();
+ var expected = "Hello Dart\nwassup!\n".charCodes;
InputStream x = (new File(fileName)).openInputStream();
List<int> buffer = new List<int>(100);
« no previous file with comments | « tests/standalone/crypto/base64_test.dart ('k') | tests/standalone/io/file_system_links_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698