Index: test/mjsunit/debug-liveedit-stepin.js |
diff --git a/test/mjsunit/debug-liveedit-stepin.js b/test/mjsunit/debug-liveedit-stepin.js |
index 601a66f93de00692155c216749b79c432d42b787..c6070ce284a82293450ddf2a402814c0312a522d 100644 |
--- a/test/mjsunit/debug-liveedit-stepin.js |
+++ b/test/mjsunit/debug-liveedit-stepin.js |
@@ -7,8 +7,7 @@ |
Debug = debug.Debug |
function BestEditor() { |
- var best_editor = "Emacs"; |
- return best_editor; |
+ return 'Emacs'; |
} |
var exception = null; |
@@ -62,20 +61,15 @@ print(JSON.stringify(log, 1)); |
assertEquals([ |
"debugger;", |
"results.push(BestEditor());", |
- " var best_editor = \"Emacs\";", |
- " return best_editor;","}", |
+ " return 'Emacs';","}", |
"results.push(BestEditor());", |
"results.push(BestEditor());", |
- " var best_editor = \"Emacs\";", |
- " return best_editor;", |
- " var best_editor = \"Eclipse\";", |
- " return best_editor;","}", |
+ " return 'Emacs';", |
+ " return 'Eclipse';","}", |
"results.push(BestEditor());", |
"results.push(BestEditor());", |
- " var best_editor = \"Eclipse\";", |
- " return best_editor;", |
- " var best_editor = \"Vim\";", |
- " return best_editor;", |
+ " return 'Eclipse';", |
+ " return 'Vim';", |
"}","results.push(BestEditor());", |
"Debug.setListener(null);" |
], log); |