This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Minor readability improvement.


I've committed the patch below as obvious.

--
Paul Pluzhnikov

2008-11-07  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.python/python-template.exp: Make failures clearer.
	

diff --git a/gdb/testsuite/gdb.python/python-template.exp b/gdb/testsuite/gdb.python/python-template.exp
index c2dacfc..c02e887 100644
--- a/gdb/testsuite/gdb.python/python-template.exp
+++ b/gdb/testsuite/gdb.python/python-template.exp
@@ -62,7 +62,7 @@ proc test_template_arg {type} {
 
     # Replace '*' with '\*' in regex.
     regsub -all {\*} $type {\*} t
-    gdb_test "python print foo.type().template_argument(0)" $t
+    gdb_test "python print foo.type().template_argument(0)" $t $type
 }
 
 test_template_arg "const int"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]