diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2018-01-10 20:57:18 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-01-10 20:55:10 -0800 |
commit | eb26bbf7648891050c46770a850b1d9e90915854 (patch) | |
tree | dc3ff402e71b549682b41ae6fcf44e79d8bf9185 | |
parent | 3b1d5fce1da158f392f9eb0b1cd191f31a6d1a5d (diff) | |
download | r-alacritty-vte-eb26bbf7648891050c46770a850b1d9e90915854.tar.gz r-alacritty-vte-eb26bbf7648891050c46770a850b1d9e90915854.tar.bz2 r-alacritty-vte-eb26bbf7648891050c46770a850b1d9e90915854.zip |
Fix the utf8parse tests too.
-rw-r--r-- | utf8parse/src/lib.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utf8parse/src/lib.rs b/utf8parse/src/lib.rs index dc4b0fa..3a8ca2f 100644 --- a/utf8parse/src/lib.rs +++ b/utf8parse/src/lib.rs @@ -95,11 +95,14 @@ impl Parser { } #[cfg(test)] -mod tests { - extern crate std; +#[macro_use] +extern crate std; +#[cfg(test)] +mod tests { use std::io::Read; use std::fs::File; + use std::string::String; use Receiver; use Parser; |