aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2018-01-10 20:57:18 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2018-01-10 20:55:10 -0800
commiteb26bbf7648891050c46770a850b1d9e90915854 (patch)
treedc3ff402e71b549682b41ae6fcf44e79d8bf9185
parent3b1d5fce1da158f392f9eb0b1cd191f31a6d1a5d (diff)
downloadr-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.rs7
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;