fix(test): remove unnecessary &mut in some tests

This commit is contained in:
graelo 2022-11-07 10:46:43 +01:00
parent 6f2f7678eb
commit 735d6c0e40

View file

@ -1000,7 +1000,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
let alphabet = alphabet::Alphabet("abcd".to_string()); let alphabet = alphabet::Alphabet("abcd".to_string());
let reverse = true; let reverse = true;
let unique_hint = false; let unique_hint = false;
let mut model = textbuf::Model::new( let model = textbuf::Model::new(
&lines, &lines,
&alphabet, &alphabet,
use_all_patterns, use_all_patterns,
@ -1026,7 +1026,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
let hint_style = None; let hint_style = None;
let ui = ViewController::new( let ui = ViewController::new(
&mut model, &model,
wrap_around, wrap_around,
default_output_destination, default_output_destination,
&rendering_colors, &rendering_colors,