Skip to content

Commit

Permalink
Daily arc lint --take GOFMT
Browse files Browse the repository at this point in the history
Reviewed By: leoleovich

Differential Revision: D48238438

fbshipit-source-id: 0fe6df18e925ca07028cb59cdda5c64e16bafac1
  • Loading branch information
abulimov authored and facebook-github-bot committed Aug 11, 2023
1 parent 693a8df commit 659a186
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions lib/modulo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ func Test_Hash(t *testing.T) {
// these are randomly generated "client ids" that are known to result in
// FNV-1a 32 bit hashes 0-4 after %4
tests := [][]byte{
[]byte{0xf6, 0x85, 0x63, 0x3, 0x11, 0x80, 0x72, 0x97, 0x23, 0xa1},
[]byte{0x8c, 0x41, 0x34, 0xe1, 0x9c, 0xd, 0xfc, 0xe5, 0x41, 0x4b},
[]byte{0x54, 0xc9, 0xeb, 0x57, 0xa, 0x57, 0x14, 0x43, 0x2b, 0x19},
[]byte{0x54, 0xc5, 0x89, 0x66, 0xb2, 0xdc, 0x39, 0xf7, 0x8f, 0xa5},
{0xf6, 0x85, 0x63, 0x3, 0x11, 0x80, 0x72, 0x97, 0x23, 0xa1},
{0x8c, 0x41, 0x34, 0xe1, 0x9c, 0xd, 0xfc, 0xe5, 0x41, 0x4b},
{0x54, 0xc9, 0xeb, 0x57, 0xa, 0x57, 0x14, 0x43, 0x2b, 0x19},
{0x54, 0xc5, 0x89, 0x66, 0xb2, 0xdc, 0x39, 0xf7, 0x8f, 0xa5},
}
subject := new(modulo)
servers := make([]*DHCPServer, 4)
Expand Down
12 changes: 6 additions & 6 deletions lib/update_servers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ func TestDiffServerList(t *testing.T) {
original: []*DHCPServer{},
updated: []*DHCPServer{

&DHCPServer{
{
Address: net.ParseIP("1.2.3.4"),
Port: 1,
},
&DHCPServer{
{
Address: net.ParseIP("5.6.7.8"),
Port: 2,
},
},
},
{
original: []*DHCPServer{
&DHCPServer{
{
Address: net.ParseIP("1.2.3.4"),
Port: 1,
},
&DHCPServer{
{
Address: net.ParseIP("5.6.7.8"),
Port: 2,
},
Expand All @@ -52,13 +52,13 @@ func TestDiffServerList(t *testing.T) {
},
{
original: []*DHCPServer{
&DHCPServer{
{
Address: net.ParseIP("1.2.3.4"),
Port: 1,
},
},
updated: []*DHCPServer{
&DHCPServer{
{
Address: net.ParseIP("5.6.7.8"),
Port: 2,
},
Expand Down

0 comments on commit 659a186

Please sign in to comment.