aboutsummaryrefslogtreecommitdiff
path: root/lib/test
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-10 23:32:51 +0700
committerShulhan <ms@kilabit.info>2023-09-11 02:26:33 +0700
commitdb97fff977fd18992bddc411b769893edb1dd86e (patch)
tree65f03c4fbe6628dd4192bebe02f943d1634d5b5e /lib/test
parent60fc2df707afa19ac0f429b4bca2d5fb6e0c7803 (diff)
downloadpakakeh.go-db97fff977fd18992bddc411b769893edb1dd86e.tar.xz
lib/test: realign struct in ExampleAssert_struct
This reduce the struct size from 24 to 16 bytes (-8).
Diffstat (limited to 'lib/test')
-rw-r--r--lib/test/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/example_test.go b/lib/test/example_test.go
index 0835509a..c4e2043d 100644
--- a/lib/test/example_test.go
+++ b/lib/test/example_test.go
@@ -15,8 +15,8 @@ import (
func ExampleAssert_struct() {
type ADT struct {
BigRat *big.Rat
- Int int
Bytes []byte
+ Int int
}
var cases = []struct {