diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-07-25 21:46:45 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-07-25 19:46:45 +0000 |
commit | ddb9a558170ad16f19135b2f6a5a7a7e8ac61c3c (patch) | |
tree | 8e8a1adbb4e9185524e870393082295e6fd2a68e /font | |
parent | d25134bc6b8b13d5ff550c950c65b6e9c4a7a267 (diff) | |
download | alacritty-ddb9a558170ad16f19135b2f6a5a7a7e8ac61c3c.tar.gz alacritty-ddb9a558170ad16f19135b2f6a5a7a7e8ac61c3c.zip |
Fix clippy lints and run font tests on travis
This fixes some existing clippy issues and runs the `font` tests through travis.
Testing of copypasta crate was omitted due to problens when running on headless travis-ci environment (x11 clipboard would fail).
Diffstat (limited to 'font')
-rw-r--r-- | font/src/darwin/mod.rs | 2 | ||||
-rw-r--r-- | font/src/ft/fc/mod.rs | 6 |
2 files changed, 4 insertions, 4 deletions
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!(); } } } |