Rev 30: make the failure message slightly clearer. in http://bazaar.launchpad.net/+branch/goose

John Arbash Meinel john at arbash-meinel.com
Mon Nov 12 10:07:19 UTC 2012


At http://bazaar.launchpad.net/+branch/goose

------------------------------------------------------------
revno: 30
revision-id: john at arbash-meinel.com-20121112100712-n33dtzbsou0dye31
parent: john at arbash-meinel.com-20121111152952-fu87gids8gw5gphu
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: goose
timestamp: Mon 2012-11-12 10:07:12 +0000
message:
  make the failure message slightly clearer.
-------------- next part --------------
=== modified file 'testservices/identityservice/util_test.go'
--- a/testservices/identityservice/util_test.go	2012-11-11 15:29:52 +0000
+++ b/testservices/identityservice/util_test.go	2012-11-12 10:07:12 +0000
@@ -20,8 +20,8 @@
 		case (b >= 'a' && b <= 'f') || (b >= '0' && b <= '9'):
 			continue
 		default:
-			c.Logf("char %d was not in the right range: '%c'",
-				i, b)
+			c.Logf("char %d of %s was not in the right range",
+				i, val)
 			c.Fail()
 		}
 	}



More information about the bazaar-commits mailing list