Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[tests] Fix for test console/api/assert

  • Loading branch information...
commit c2141d85a5bef7be9324d41392472275bc1175a3 1 parent b5181bb
@janodvarko janodvarko authored
View
1  tests/content/console/api/assert.html
@@ -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>
View
2  tests/content/console/api/assert.js
@@ -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])))
Please sign in to comment.
Something went wrong with that request. Please try again.