]> Cypherpunks repositories - gostls13.git/commit
test: add tests for runtime.itab.init
authorDmitry Vyukov <dvyukov@google.com>
Tue, 22 Oct 2019 12:55:17 +0000 (14:55 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 6 Nov 2019 09:09:59 +0000 (09:09 +0000)
commit0c5d545ccdd01403d6ce865fb03774a6aff6032c
treecd2184e4e794cc58f1640e2327c4d826c289ccd3
parent0ea74401399c6bd66138693e7ca0cc54307d3289
test: add tests for runtime.itab.init

We seem to lack any tests for some corner cases of itab.init
(multiple methods with the same name, breaking itab.init doesn't
seem to fail any tests). We also lack tests that fix text of panics.
Add more tests for itab.init.

Change-Id: Id6b536179ba6b0d45c3cb9dc1c66b9311d0ab85e
Reviewed-on: https://go-review.googlesource.com/c/go/+/202451
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/interface/embed3.dir/embed0.go [new file with mode: 0644]
test/interface/embed3.dir/embed1.go [new file with mode: 0644]
test/interface/embed3.go [new file with mode: 0644]