summaryrefslogtreecommitdiffstats
path: root/src/tests/integration/compatibility.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/integration/compatibility.rs')
-rw-r--r--src/tests/integration/compatibility.rs42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/tests/integration/compatibility.rs b/src/tests/integration/compatibility.rs
index d3bbccba0..0930271f7 100644
--- a/src/tests/integration/compatibility.rs
+++ b/src/tests/integration/compatibility.rs
@@ -27,14 +27,14 @@ use zellij_utils::input::config::Config;
fn get_fake_os_input(fake_win_size: &PositionAndSize, fixture_name: &str) -> FakeInputOutput {
let mut tty_inputs = HashMap::new();
let fixture_bytes = Bytes::from_file_in_fixtures(&fixture_name);
- tty_inputs.insert(fake_win_size.columns as u16, fixture_bytes);
+ tty_inputs.insert(fake_win_size.cols as u16, fixture_bytes);
FakeInputOutput::new(fake_win_size.clone()).with_tty_inputs(tty_inputs)
}
#[test]
pub fn run_bandwhich_from_fish_shell() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -65,7 +65,7 @@ pub fn run_bandwhich_from_fish_shell() {
#[test]
pub fn fish_tab_completion_options() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -100,7 +100,7 @@ pub fn fish_select_tab_completion_options() {
// this is not clearly seen in the snapshot because it does not include styles,
// but we can see the command line change and the cursor staying in place
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -139,7 +139,7 @@ pub fn vim_scroll_region_down() {
// file
// experience appear to the user
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -175,7 +175,7 @@ pub fn vim_ctrl_d() {
// end of the scroll region
// vim makes sure to fill these empty lines with the rest of the file
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -210,7 +210,7 @@ pub fn vim_ctrl_u() {
// this causes the effect of scrolling up X lines (vim replaces the lines with the ones in the
// file above the current content)
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -240,7 +240,7 @@ pub fn vim_ctrl_u() {
#[test]
pub fn htop() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -270,7 +270,7 @@ pub fn htop() {
#[test]
pub fn htop_scrolling() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -300,7 +300,7 @@ pub fn htop_scrolling() {
#[test]
pub fn htop_right_scrolling() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -338,7 +338,7 @@ pub fn vim_overwrite() {
// * confirm you would like to change the file by pressing 'y' and then ENTER
// * if everything looks fine, this test passed :)
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -371,7 +371,7 @@ pub fn clear_scroll_region() {
// this means that when vim exits, we get back the previous scroll
// buffer
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -401,7 +401,7 @@ pub fn clear_scroll_region() {
#[test]
pub fn display_tab_characters_properly() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -431,7 +431,7 @@ pub fn display_tab_characters_properly() {
#[test]
pub fn neovim_insert_mode() {
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -463,7 +463,7 @@ pub fn bash_cursor_linewrap() {
// this test makes sure that when we enter a command that is beyond the screen border, that it
// immediately goes down one line
let fake_win_size = PositionAndSize {
- columns: 116,
+ cols: 116,
rows: 28,
x: 0,
y: 0,
@@ -495,7 +495,7 @@ pub fn fish_paste_multiline() {
// here we paste a multiline command in fish shell, making sure we support it
// going up and changing the colors of our line-wrapped pasted text
let fake_win_size = PositionAndSize {
- columns: 149,
+ cols: 149,
rows: 28,
x: 0,
y: 0,
@@ -525,7 +525,7 @@ pub fn fish_paste_multiline() {
#[test]
pub fn git_log() {
let fake_win_size = PositionAndSize {
- columns: 149,
+ cols: 149,
rows: 28,
x: 0,
y: 0,
@@ -557,7 +557,7 @@ pub fn git_diff_scrollup() {
// this tests makes sure that when we have a git diff that exceeds the screen size
// we are able to scroll up
let fake_win_size = PositionAndSize {
- columns: 149,
+ cols: 149,
rows: 28,
x: 0,
y: 0,
@@ -587,7 +587,7 @@ pub fn git_diff_scrollup() {
#[test]
pub fn emacs_longbuf() {
let fake_win_size = PositionAndSize {
- columns: 284,
+ cols: 284,
rows: 60,
x: 0,
y: 0,
@@ -617,7 +617,7 @@ pub fn emacs_longbuf() {
#[test]
pub fn top_and_quit() {
let fake_win_size = PositionAndSize {
- columns: 235,
+ cols: 235,
rows: 56,
x: 0,
y: 0,
@@ -653,7 +653,7 @@ pub fn exa_plus_omf_theme() {
// over existing on-screen content without deleting it, so we must
// convert it to spaces
let fake_win_size = PositionAndSize {
- columns: 235,
+ cols: 235,
rows: 56,
x: 0,
y: 0,