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

Unified Diff: sdk/lib/_internal/pub/test/serve/installs_first_if_dev_dependency_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_dev_dependency_changed_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/installs_first_if_dev_dependency_changed_test.dart b/sdk/lib/_internal/pub/test/serve/installs_first_if_dev_dependency_changed_test.dart
index fb5591e3705e147d63302c7495d66debdb0fed04..553d924d9ad0b65ded040ee1a9a9f2e4e56d7fc3 100644
--- a/sdk/lib/_internal/pub/test/serve/installs_first_if_dev_dependency_changed_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/installs_first_if_dev_dependency_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';
@@ -26,7 +26,7 @@ main() {
"foo": {"path": "../foo"}
}
}),
- d.file("pubspec.lock", json.stringify({
+ d.file("pubspec.lock", JSON.encode({
'packages': {}
}))
]).create();

Powered by Google App Engine
This is Rietveld 408576698