[seed] tests: A bunch of exceptions changed format a while back, update tests



commit 1b648f199672e0d7521910cb70469f8882a95f84
Author: Tim Horton <hortont424 gmail com>
Date:   Wed Oct 28 01:52:16 2009 -0400

    tests: A bunch of exceptions changed format a while back, update tests

 tests/javascript/check-syntax.js            |    2 +-
 tests/javascript/include-syntax.js          |    2 +-
 tests/javascript/property-glib-exception.js |    2 +-
 tests/javascript/syntax-test.js             |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/javascript/check-syntax.js b/tests/javascript/check-syntax.js
index 36568c3..fc3b0ed 100755
--- a/tests/javascript/check-syntax.js
+++ b/tests/javascript/check-syntax.js
@@ -2,7 +2,7 @@
 // Returns: 0
 // STDIN:
 // STDOUT:ONE\n\[null\]\nTWO\n\[null\]\nTHREE
-// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: SyntaxError\. Parse error in \[undefined\] at line 1
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: Line 1 in \[undefined\]: SyntaxError Parse error
 
 print("ONE");
 print(Seed.check_syntax("5+5;"));
diff --git a/tests/javascript/include-syntax.js b/tests/javascript/include-syntax.js
index ccd9f74..fc935d8 100755
--- a/tests/javascript/include-syntax.js
+++ b/tests/javascript/include-syntax.js
@@ -2,6 +2,6 @@
 // Returns: 0
 // STDIN:
 // STDOUT:
-// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: SyntaxError\. Parse error in syntax-test\.js at line 6
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: Line 6 in syntax-test\.js: SyntaxError Parse error
 
 Seed.include("syntax-test.js");
diff --git a/tests/javascript/property-glib-exception.js b/tests/javascript/property-glib-exception.js
index 961a9cf..139e60a 100755
--- a/tests/javascript/property-glib-exception.js
+++ b/tests/javascript/property-glib-exception.js
@@ -2,7 +2,7 @@
 // Returns: 0
 // STDIN:
 // STDOUT:
-// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: PropertyError\. value "3\.000000" of type `gdouble' is invalid or out of range for property `opacity' of type `gdouble' in .*\/property-glib-exception\.js at line 10
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: Line 10 in .*\/property-glib-exception\.js: PropertyError value "3\.000000" of type `gdouble' is invalid or out of range for property `opacity' of type `gdouble'
 
 Gtk = imports.gi.Gtk;
 Gtk.init(Seed.argv);
diff --git a/tests/javascript/syntax-test.js b/tests/javascript/syntax-test.js
index b341eae..15f0a02 100755
--- a/tests/javascript/syntax-test.js
+++ b/tests/javascript/syntax-test.js
@@ -2,6 +2,6 @@
 // Returns: 1
 // STDIN:
 // STDOUT:
-// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: SyntaxError\. Parse error in .*\/syntax-test\.js at line 6
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: Line 6 in .*\/syntax-test\.js: SyntaxError Parse error
 
 new = 3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]