]> Cypherpunks repositories - gostls13.git/commit
math/bits: move tests into their own package
authorMartin Möhrmann <moehrmann@google.com>
Tue, 1 May 2018 10:10:14 +0000 (12:10 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Tue, 1 May 2018 15:33:01 +0000 (15:33 +0000)
commit8c4170b2c9d0769ee970aeedadde239cfe519059
treed314d46110fef57d375e25f2d5d92952417c7ff6
parent7f6105f138b3836e9ad85b8da26d44c742bf217b
math/bits: move tests into their own package

This makes math/bits not have any explicit imports even
when compiling tests and thereby avoids import cycles when
dependencies of testing want to import math/bits.

Change-Id: I95eccae2f5c4310e9b18124abfa85212dfbd9daa
Reviewed-on: https://go-review.googlesource.com/110479
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/math/bits/bits_test.go
src/math/bits/export_test.go [new file with mode: 0644]