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

Unified Diff: sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 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: sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart b/sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart
index d7f5c92247966d7acf8e03c016d04734497b324b..65d177ee2d69a1aca92319a9dd81ed12074baa7c 100644
--- a/sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/installs_first_if_source_changed_test.dart
@@ -4,7 +4,7 @@
library pub_tests;
-import 'dart:json' as json;
+import 'dart:convert';
import '../descriptor.dart' as d;
import '../test_pub.dart';
@@ -25,7 +25,7 @@ main() {
"foo": {"path": "../foo"}
}),
// A lock file with the hosted source.
- d.file("pubspec.lock", json.stringify({
+ d.file("pubspec.lock", JSON.encode({
'packages': {
'foo': {
'version': '0.0.0',

Powered by Google App Engine
This is Rietveld 408576698