kr/pretty — pull request #5 by zeebo (2012-06-05 16:33:08+00:00)
Title: Fix old tests, run gofmt, add support for internal fields.

Some tests had aged, or were just written incorrectly. For example, the F type in the tests was no longer a fmt.Formatter as the int parameter was changed to a rune at some point. Also, there was an incorrect test in the diffs that I fixed and added another case that I assume was what was going to be tested.

The support for internal fields is done by returning an in the same way is returned for nil fields. This required changing some structs in the tests to have exported names on their fields, and the corresponding test cases to expect the capital letters.

Thanks.