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

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

Issue 2738313002: rename fasta.Token.value --> lexeme (Closed)
Patch Set: merge Created 3 years, 9 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/compiler/dart2js/scanner_offset_length_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/scanner_test.dart
diff --git a/tests/compiler/dart2js/scanner_test.dart b/tests/compiler/dart2js/scanner_test.dart
index b8cb10fb89eb99e45b8fd0239c3543a595e7bc51..fcdd7bc00b5400bd967994845c3a89d530d41a59 100644
--- a/tests/compiler/dart2js/scanner_test.dart
+++ b/tests/compiler/dart2js/scanner_test.dart
@@ -74,7 +74,7 @@ main() {
0xc3,
0xb1
]);
- Expect.stringEquals("'Îñţérñåţîöñåļîžåţîờñ'", token.value);
+ Expect.stringEquals("'Îñţérñåţîöñåļîžåţîờñ'", token.lexeme);
// Blueberry porridge in Danish: "blåbærgrød".
token = scanUTF8([
@@ -92,7 +92,7 @@ main() {
0xb8,
0x64
]);
- Expect.stringEquals("'blåbærgrød'", token.value);
+ Expect.stringEquals("'blåbærgrød'", token.lexeme);
// "சிவா அணாமாைல", that is "Siva Annamalai" in Tamil.
token = scanUTF8([
@@ -131,7 +131,7 @@ main() {
0xae,
0xb2
]);
- Expect.stringEquals("'சிவா அணாமாைல'", token.value);
+ Expect.stringEquals("'சிவா அணாமாைல'", token.lexeme);
// "िसवा अणामालै", that is "Siva Annamalai" in Devanagari.
token = scanUTF8([
@@ -170,13 +170,13 @@ main() {
0xa5,
0x88
]);
- Expect.stringEquals("'िसवा अणामालै'", token.value);
+ Expect.stringEquals("'िसवा अणामालै'", token.lexeme);
if (!isRunningOnJavaScript()) {
// DESERET CAPITAL LETTER BEE, unicode 0x10412(0xD801+0xDC12)
// UTF-8: F0 90 90 92
token = scanUTF8([0xf0, 0x90, 0x90, 0x92]);
- Expect.stringEquals("'𐐒'", token.value);
+ Expect.stringEquals("'𐐒'", token.lexeme);
} else {
print('Skipping non-BMP character test');
}
« no previous file with comments | « tests/compiler/dart2js/scanner_offset_length_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698