Skip to content

Commit 49cd9fd

Browse files
committed
Adding more test cases with different upper and lowercase values
1 parent 7179ded commit 49cd9fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/by-util/test_stty.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ fn test_row_column_hex_octal() {
299299
// Test various numeric formats: hex (0x1E), octal (036), uppercase hex (0X1E), decimal (30), and zero
300300
let test_cases = [
301301
("rows", "0x1E"), // hexadecimal = 30
302+
("rows", "0x1e"), // lowercase hexadecimal = 30
303+
("rows", "0X1e"), // lowercase hexadecimal = 30
302304
("rows", "036"), // octal = 30
303305
("cols", "0X1E"), // uppercase hex = 30
304306
("columns", "30"), // decimal = 30

0 commit comments

Comments
 (0)