mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
style: fix formatting in cursor tests
This commit is contained in:
parent
eb86d549a1
commit
e48d234435
1 changed files with 4 additions and 6 deletions
|
@ -124,7 +124,6 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_cursor_size_zero_handling() {
|
fn test_cursor_size_zero_handling() {
|
||||||
|
|
||||||
let cursor = Cursor::new(0);
|
let cursor = Cursor::new(0);
|
||||||
assert_eq!(cursor.end(), 0);
|
assert_eq!(cursor.end(), 0);
|
||||||
|
|
||||||
|
@ -144,5 +143,4 @@ mod tests {
|
||||||
cursor.move_forward(1);
|
cursor.move_forward(1);
|
||||||
assert_eq!(cursor.position, 0);
|
assert_eq!(cursor.position, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue