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

Unified Diff: tests/lib/crypto/sha256_test.dart

Issue 11358203: Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/lib/crypto/sha256_short_test_vectors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/crypto/sha256_test.dart
===================================================================
--- tests/lib/crypto/sha256_test.dart (revision 14804)
+++ tests/lib/crypto/sha256_test.dart (working copy)
@@ -3,12 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
// Library tag to allow Dartium to run the tests.
-#library('sha256_test');
+library sha256_test;
-#import("dart:crypto");
+import 'dart:crypto';
-#source('sha256_long_test_vectors.dart');
-#source('sha256_short_test_vectors.dart');
+part 'sha256_long_test_vectors.dart';
+part 'sha256_short_test_vectors.dart';
List<int> createTestArr(int len) {
var arr = new List<int>(len);
« no previous file with comments | « tests/lib/crypto/sha256_short_test_vectors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698