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

Unified Diff: test/mjsunit/eval.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/escape.js ('k') | test/mjsunit/eval-enclosing-function-name.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/eval.js
diff --git a/test/mjsunit/eval.js b/test/mjsunit/eval.js
index 100f21653fb2943a63c88473e45de6f263d445ad..5ea94240ebcb51ee5dd49d3ae81c2a22b949c643 100644
--- a/test/mjsunit/eval.js
+++ b/test/mjsunit/eval.js
@@ -28,10 +28,10 @@
assertEquals(void 0, eval());
assertEquals(4, eval(4));
-function f() { return 'The f function'; };
+function f() { return 'The f function'; }
assertTrue(f === eval(f));
-function g(x, y) { return 4; };
+function g(x, y) { return 4; }
count = 0;
assertEquals(4, eval('2 + 2', count++));
@@ -47,7 +47,7 @@ try {
// eval has special evaluation order for consistency with other browsers.
global_eval = eval;
-assertEquals(void 0, eval(eval("var eval = function f(x) { return 'hest';}")))
+assertEquals(void 0, eval(eval("var eval = function f(x) { return 'hest';}")));
eval = global_eval;
// Test eval with different number of parameters.
« no previous file with comments | « test/mjsunit/escape.js ('k') | test/mjsunit/eval-enclosing-function-name.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698