Permalink
Browse files

[tests] Fix for test console/api/assert

  • Loading branch information...
1 parent b5181bb commit c2141d85a5bef7be9324d41392472275bc1175a3 @janodvarko janodvarko committed Mar 30, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 tests/content/console/api/assert.html
  2. +1 −1 tests/content/console/api/assert.js
@@ -1,6 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Case for console object</title>
</head>
<body>
@@ -50,7 +50,7 @@ function verifyConsoleUI(config)
// Verify the first assert message.
var reExpectedLog1 = new RegExp("negative\\s*console\.assert\\(false,\\s*\"negative\"\\);\\s*" +
- FW.FBL.$STRF("Line", ["assert.html", 42]).replace(/([\\"'\(\)])/g, "\\$1"));
+ FW.FBL.$STRF("Line", ["assert.html", 43]).replace(/([\\"'\(\)])/g, "\\$1"));
if (!FBTest.compare(reExpectedLog1, rows[0].textContent,
"The log must be something like as follows: " +
"negative console.assert(false, \"negative\");\r\n" + FW.FBL.$STRF("Line", ["assert.html", 42])))

0 comments on commit c2141d8

Please sign in to comment.