Skip to content

Commit

Permalink
extra println
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Aug 22, 2024
1 parent 1755168 commit 6712e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ mod test {

let case_1 = dirs::config_dir()
.map(|mut path| {
path.push(DEFAULT_CONFIG_FILE_PATH);
path.push(DEFAULT_CONFIG_FILE_LOCATION);
path
})
.unwrap();
Expand All @@ -1246,7 +1246,7 @@ mod test {
std::env::set_var("XDG_CONFIG_HOME", "/tmp");
let mut case_2 = PathBuf::new();
case_2.push("/tmp");
case_2.push(DEFAULT_CONFIG_FILE_PATH);
case_2.push(DEFAULT_CONFIG_FILE_LOCATION);

// Skip this test if the file already exists.
if !case_2.exists() {
Expand Down
1 change: 0 additions & 1 deletion src/options/config/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ mod test {
#[test]
fn default_selected_colour_works() {
let mut colours = ColourPalette::default();
println!("colours: {colours:?}");
let original_selected_text_colour = ColourPalette::default_palette()
.selected_text_style
.fg
Expand Down

0 comments on commit 6712e6d

Please sign in to comment.