test fixes
This commit is contained in:
parent
11f31b9684
commit
023861cbd1
2 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue