File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -174,16 +174,16 @@ func Test_anyToSockaddr(t *testing.T) {
174
174
Family : AF_CAN ,
175
175
Ifindex : 12345678 ,
176
176
Addr : [16 ]byte {
177
- 0x89 , 0x67 , 0x45 , 0x23 ,
178
- 0x90 , 0x78 , 0x56 , 0x34 ,
177
+ 0xAA , 0xAA , 0xAA , 0xAA ,
178
+ 0xBB , 0xBB , 0xBB , 0xBB ,
179
179
0x0 , 0x0 , 0x0 , 0x0 ,
180
180
0x0 , 0x0 , 0x0 , 0x0 ,
181
181
},
182
182
}),
183
183
sa : & SockaddrCAN {
184
184
Ifindex : 12345678 ,
185
- RxID : 0x23456789 ,
186
- TxID : 0x34567890 ,
185
+ RxID : 0xAAAAAAAA ,
186
+ TxID : 0xBBBBBBBB ,
187
187
},
188
188
},
189
189
{
@@ -573,15 +573,15 @@ func TestSockaddrCAN_sockaddr(t *testing.T) {
573
573
name : "with ids" ,
574
574
sa : & SockaddrCAN {
575
575
Ifindex : 12345678 ,
576
- RxID : 0x23456789 ,
577
- TxID : 0x34567890 ,
576
+ RxID : 0xAAAAAAAA ,
577
+ TxID : 0xBBBBBBBB ,
578
578
},
579
579
raw : & RawSockaddrCAN {
580
580
Family : AF_CAN ,
581
581
Ifindex : 12345678 ,
582
582
Addr : [16 ]byte {
583
- 0x89 , 0x67 , 0x45 , 0x23 ,
584
- 0x90 , 0x78 , 0x56 , 0x34 ,
583
+ 0xAA , 0xAA , 0xAA , 0xAA ,
584
+ 0xBB , 0xBB , 0xBB , 0xBB ,
585
585
0x0 , 0x0 , 0x0 , 0x0 ,
586
586
0x0 , 0x0 , 0x0 , 0x0 ,
587
587
},
You can’t perform that action at this time.
0 commit comments