error: update test-trusted.py
authorMatt Mackall <mpm@selenic.com>
Fri, 04 Jun 2010 23:00:22 -0500
changeset 11291 543597fae51d
parent 11290 8c6c7f6347a3
child 11292 037d910734de
error: update test-trusted.py
tests/test-trusted.py
tests/test-trusted.py.out
--- a/tests/test-trusted.py	Fri Jun 04 22:54:43 2010 -0500
+++ b/tests/test-trusted.py	Fri Jun 04 23:00:22 2010 -0500
@@ -180,10 +180,10 @@
 
 try:
     testui(user='abc', group='def', silent=True)
-except error.ConfigError, inst:
+except error.ParseError, inst:
     print inst
 
 try:
     testui(debug=True, silent=True)
-except error.ConfigError, inst:
+except error.ParseError, inst:
     print inst
--- a/tests/test-trusted.py.out	Fri Jun 04 22:54:43 2010 -0500
+++ b/tests/test-trusted.py.out	Fri Jun 04 23:00:22 2010 -0500
@@ -155,6 +155,6 @@
 # parse error
 # different user, different group
 Not trusting file .hg/hgrc from untrusted user abc, group def
-Ignored: config error at .hg/hgrc:1: 'foo'
+('foo', '.hg/hgrc:1')
 # same user, same group
-config error at .hg/hgrc:1: 'foo'
+('foo', '.hg/hgrc:1')