]> Cypherpunks repositories - gostls13.git/commit
math/big: clean up *Int encoding tests
authorRobert Griesemer <gri@golang.org>
Mon, 28 Sep 2015 18:31:53 +0000 (11:31 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 29 Sep 2015 00:23:31 +0000 (00:23 +0000)
commit18563f8ab4096c415172a590b414c429584acbf0
treeef5c6f6189d487bc5dbba2a31cfbe112042f5b0a
parent38c5fd5cf872cf2eabad1361342097e11d292c91
math/big: clean up *Int encoding tests

- more uniform naming
- test sign more deliberately
- remove superfluous test (JSON encoder always uses the JSON marshaler if present)

Change-Id: I37b1e367c01fc8bae1e06adbdb72dd366c08d5ce
Reviewed-on: https://go-review.googlesource.com/15110
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/intmarsh.go
src/math/big/intmarsh_test.go