Refactor test cases for USB flow and port labels for improved readability
This commit is contained in:
1 parent
25fc9454a8
commit
3452bdae8c
2 files changed
+6
-13
No files matched your search
@@ -46,9 +46,7 @@ void main() {
|
||||
|
||||
test('friendlyUsbPortName trims whitespace from label parts', () {
|
||||
expect(
|
||||
friendlyUsbPortName(
|
||||
' /dev/ttyS0 - My Serial Port - n/a ',
|
||||
),
|
||||
friendlyUsbPortName(' /dev/ttyS0 - My Serial Port - n/a '),
|
||||
'My Serial Port',
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user