test fixes

This commit is contained in:
Corey Richardson 2013-06-01 13:24:58 -04:00
parent 11f31b9684
commit 023861cbd1
2 changed files with 2 additions and 2 deletions

View file

@ -204,6 +204,6 @@ mod test {
#[test]
fn test_basic_setabf() {
let s = bytes!("\\E[48;5;%p1%dm");
assert_eq!(expand(s, [Number(1)], [], []), bytes!("\\E[48;5;1m").to_owned());
assert_eq!(expand(s, [Number(1)], [], []).unwrap(), bytes!("\\E[48;5;1m").to_owned());
}
}

View file

@ -314,7 +314,7 @@ pub fn parse(file: @Reader, longnames: bool) -> Result<~TermInfo, ~str> {
#[cfg(test)]
mod test {
use super::*;
use p = std::path::Path;
use p = core::path::Path;
#[test]
fn test_veclens() {