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

Unified Diff: tests/compiler/dart2js/mirrors_used_test.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 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
Index: tests/compiler/dart2js/mirrors_used_test.dart
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart
index 3dd0e0a6dff97e70b1894a466d519eace52b20e2..9d550f5feae321805f92d957bbc024fd834c1eb9 100644
--- a/tests/compiler/dart2js/mirrors_used_test.dart
+++ b/tests/compiler/dart2js/mirrors_used_test.dart
@@ -17,7 +17,6 @@ import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' show
import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' show
Constant,
- SourceString,
TypeConstant;
import
@@ -81,7 +80,7 @@ void main() {
for (var library in compiler.libraries.values) {
library.forEachLocalMember((member) {
if (library == compiler.mainApp
kasperl 2013/10/18 06:44:57 Fits on one line?
lukas 2013/10/18 08:39:46 Done.
- && member.name == const SourceString('Foo')) {
+ && member.name == 'Foo') {
Expect.isTrue(
compiler.backend.isNeededForReflection(member), '$member');
member.forEachLocalMember((classMember) {

Powered by Google App Engine
This is Rietveld 408576698