Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index f5aed96d7d4d5c05a0f3288598a23d0951b7f5ef..8f217e6cde9438000c45d7cc8ecb5dfc0cc258dd 100755 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -65,7 +65,7 @@ TEST(ScanKeywords) { |
i::Utf8ToUC16CharacterStream stream(keyword, length); |
i::JavaScriptScanner scanner(&unicode_cache); |
// The scanner should parse 'let' as Token::LET for this test. |
- scanner.SetHarmonyBlockScoping(true); |
+ scanner.SetHarmonyScoping(true); |
scanner.Initialize(&stream); |
CHECK_EQ(key_token.token, scanner.Next()); |
CHECK_EQ(i::Token::EOS, scanner.Next()); |