From b7d7aa8ad2a393028d0bc19afc8d5f4fde1122d8 Mon Sep 17 00:00:00 2001 From: "whesse@chromium.org" Date: Thu, 10 Mar 2011 14:04:18 +0000 Subject: [PATCH] Fix error in sin-cos.js test introduced in r7129. Review URL: http://codereview.chromium.org/6659034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7133 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/sin-cos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mjsunit/sin-cos.js b/test/mjsunit/sin-cos.js index 0f1b8b6..e38dfdf 100644 --- a/test/mjsunit/sin-cos.js +++ b/test/mjsunit/sin-cos.js @@ -33,7 +33,7 @@ function sinTest() { } function cosTest() { - assertEquals(0, Math.cos(1)); + assertEquals(1, Math.cos(0)); assertEquals(-1, Math.cos(Math.PI)); } -- 2.7.4