[Pkg-mozext-commits] [firebug] 31/59: Fix console/errors/6523 test

David Prévot taffit at moszumanska.debian.org
Thu Aug 14 14:52:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firebug.

commit 30ba6a094351fd86be0818fb54feb8baffecd83c
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Wed Jul 30 14:59:05 2014 +0200

    Fix console/errors/6523 test
    
    The exact column given for errors doesn't matter to us, and varies
    between Firefox versions.
---
 tests/content/console/errors/6523/issue6523.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/content/console/errors/6523/issue6523.js b/tests/content/console/errors/6523/issue6523.js
index c51f38e..3f089e7 100644
--- a/tests/content/console/errors/6523/issue6523.js
+++ b/tests/content/console/errors/6523/issue6523.js
@@ -17,7 +17,7 @@ function runTest()
                     var row = panelNode.querySelector(".logRow.logRow-errorMessage");
 
                     // Verify displayed text.
-                    var reTextContent = /\s*b\s*throw new Error\(\"b\"\)\;\s*issue65...me\.html\s*\(line\s*17(,\s*col\s*8)?\)\s*/;
+                    var reTextContent = /\s*b\s*throw new Error\(\"b\"\)\;\s*-*\s*issue65...me\.html\s*\(line\s*17(,\s*col\s*[1-9]\d*)?\)\s*/;
                     FBTest.compare(reTextContent, row.textContent, "Text content must match.");
 
                     // Show stack trace.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list