[Pkg-mozext-commits] [firebug] 65/68: Avoid comparing full message text

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:45:55 UTC 2014


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

taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.

commit 74b19fa698c69c279e4e18df2731e3e03c7e2acf
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Tue May 7 11:05:28 2013 +0200

    Avoid comparing full message text
---
 tests/content/console/5945/issue5945.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/content/console/5945/issue5945.js b/tests/content/console/5945/issue5945.js
index d27ccf0..486a0aa 100644
--- a/tests/content/console/5945/issue5945.js
+++ b/tests/content/console/5945/issue5945.js
@@ -18,16 +18,17 @@ function runTest()
                 var rows = panel.panelNode.getElementsByClassName("logRow");
 
                 // The exact column number is not tested since it can differ
-                // from some uknown reason. Sounds like Firefox bug, but we
+                // for some unknown reason. Sounds like Firefox bug, but we
                 // don't have a test case.
+                // Also the full messages are not checked to avoid language conflicts
                 var expected = [
                 {
-                    msg: "Error in parsing value for 'background'.  Declaration dropped.",
+                    msg: /'background'/,
                     source: "background: not-existing-function();",
                     link: /cssWithErrors\.css\s*\(line\s*2\,\s*col\s*\d+\)/
                 },
                 {
-                    msg: "Expected color but found 'notacolor'.  Error in parsing value for 'color'.  Declaration dropped.",
+                    msg: /'notacolor'.*?'color'/,
                     source: "color: notacolor;",
                     link: /cssWithErrors\.css\s*\(line\s*6\,\s*col\s*\d+\)/
                 }]

-- 
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