OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
go
/
printer
/
testdata
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
alignment.golden
4.12 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
alignment.input
4.92 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.golden
11.32 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.input
11.35 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.x
1.22 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments2.golden
2.24 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments2.input
2.29 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
complit.input
912 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
complit.x
1.14 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
declarations.golden
16.23 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
declarations.input
16.46 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
doc.golden
160 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
doc.input
159 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
empty.golden
94 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
empty.input
94 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.golden
12.41 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.input
12.13 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.raw
12.38 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
generics.golden
2.56 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
generics.input
2.61 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.golden
1.96 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.input
1.96 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.norm
1.9 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild1.golden
46 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild1.input
47 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild2.golden
64 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild2.input
65 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild3.golden
88 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild3.input
89 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild4.golden
77 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild4.input
52 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild5.golden
55 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild5.input
62 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild6.golden
56 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild6.input
55 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild7.golden
369 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild7.input
369 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
linebreaks.golden
5.09 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
linebreaks.input
5.07 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
parser.go
50.65 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
slow.golden
2.02 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
slow.input
1.94 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
statements.golden
8.04 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
statements.input
8.32 KB
12/01/2022 06:12:58 PM
rw-r--r--
Editing: slow.input
Close
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package deepequal_test import ( "testing" "google3/spam/archer/frontend/deepequal" ) func TestTwoNilValues(t *testing.T) { if err := deepequal.Check(nil, nil); err != nil { t.Errorf("expected nil, saw %v", err) } } type Foo struct { bar *Bar bang *Bar } type Bar struct { baz *Baz foo []*Foo } type Baz struct { entries map[int]interface{} whatever string } func newFoo() (*Foo) { return &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ 42: &Foo{}, 21: &Bar{}, 11: &Baz{ whatever: "it's just a test" }}}}, bang: &Bar{foo: []*Foo{ &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ 43: &Foo{}, 22: &Bar{}, 13: &Baz{ whatever: "this is nuts" }}}}, bang: &Bar{foo: []*Foo{ &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ 61: &Foo{}, 71: &Bar{}, 11: &Baz{ whatever: "no, it's Go" }}}}, bang: &Bar{foo: []*Foo{ &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ 0: &Foo{}, -2: &Bar{}, -11: &Baz{ whatever: "we need to go deeper" }}}}, bang: &Bar{foo: []*Foo{ &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ -2: &Foo{}, -5: &Bar{}, -7: &Baz{ whatever: "are you serious?" }}}}, bang: &Bar{foo: []*Foo{}}}, &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ -100: &Foo{}, 50: &Bar{}, 20: &Baz{ whatever: "na, not really ..." }}}}, bang: &Bar{foo: []*Foo{}}}}}}}}}, &Foo{bar: &Bar{ baz: &Baz{ entries: map[int]interface{}{ 2: &Foo{}, 1: &Bar{}, -1: &Baz{ whatever: "... it's just a test." }}}}, bang: &Bar{foo: []*Foo{}}}}}}}}} } func TestElaborate(t *testing.T) { a := newFoo() b := newFoo() if err := deepequal.Check(a, b); err != nil { t.Errorf("expected nil, saw %v", err) } }