mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
Remove redundant type declaration
Signed-off-by: andig <cpuidle@gmx.de>
This commit is contained in:
parent
72cc70ebfc
commit
5f96d6211a
@ -428,7 +428,7 @@ func TestAllocs(t *testing.T) {
|
|||||||
ftun, tun := newFakeTUN(t.Logf, false)
|
ftun, tun := newFakeTUN(t.Logf, false)
|
||||||
defer tun.Close()
|
defer tun.Close()
|
||||||
|
|
||||||
buf := [][]byte{[]byte{0x00}}
|
buf := [][]byte{{0x00}}
|
||||||
err := tstest.MinAllocsPerRun(t, 0, func() {
|
err := tstest.MinAllocsPerRun(t, 0, func() {
|
||||||
_, err := ftun.Write(buf, 0)
|
_, err := ftun.Write(buf, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user