summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--font/src/darwin/mod.rs2
-rw-r--r--font/src/ft/fc/mod.rs6
-rw-r--r--src/main.rs2
4 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index d346c9f9..eebed8b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,3 +31,4 @@ matrix:
script:
- if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi
- if [ -z "$CLIPPY" ]; then cargo test; fi
+ - if [ -z "$CLIPPY" ]; then cargo test -p font; fi
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs
index 4351af61..2f9d5fe0 100644
--- a/font/src/darwin/mod.rs
+++ b/font/src/darwin/mod.rs
@@ -631,7 +631,7 @@ mod tests {
};
print!("{}", c);
}
- print!("\n");
+ println!();
}
}
}
diff --git a/font/src/ft/fc/mod.rs b/font/src/ft/fc/mod.rs
index 865f63c9..a999a408 100644
--- a/font/src/ft/fc/mod.rs
+++ b/font/src/ft/fc/mod.rs
@@ -326,7 +326,7 @@ mod tests {
print!("embeddedbitmap={:?}; ", font.embeddedbitmap());
print!("lcdfilter={:?}; ", font.lcdfilter());
print!("hintstyle={:?}", font.hintstyle());
- println!("");
+ println!();
}
#[test]
@@ -346,7 +346,7 @@ mod tests {
print!("style={:?}; ", font.style());
print!("rgba={:?}", font.rgba());
print!("rgba={:?}", font.rgba());
- println!("");
+ println!();
}
}
@@ -367,7 +367,7 @@ mod tests {
print!("family={:?}; ", font.family());
print!("style={:?}; ", font.style());
print!("rgba={:?}", font.rgba());
- println!("");
+ println!();
}
}
}
diff --git a/src/main.rs b/src/main.rs
index f7a1fa1a..fc6b0821 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -180,7 +180,7 @@ fn run(mut config: Config, options: &cli::Options) -> Result<(), Box<Error>> {
.as_ref()
.and_then(|monitor| monitor.pending_config())
{
- config = new_config.update_dynamic_title(&options);
+ config = new_config.update_dynamic_title(options);
display.update_config(&config);
processor.update_config(&config);
terminal.update_config(&config);