Merge "Make EthernetPort#toString more legible" into main
This commit is contained in:
commit
d6541b8daa
1 changed files with 3 additions and 3 deletions
|
|
@ -115,7 +115,7 @@ public class EthernetPortTest {
|
|||
public void testToString() {
|
||||
EthernetPort port = new EthernetPort(
|
||||
mTestInterfaceName, mTestMacAddress, mTestInterfaceIndex);
|
||||
String expect = "Interface name: eth0, MAC address: 0a:1b:2c:3d:4e:5f, Interface index: 1";
|
||||
String expect = "EthernetPort(eth0, ifindex=1, MAC=0a:1b:2c:3d:4e:5f)";
|
||||
assertEquals(expect, port.toString());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue