Skip to content

Commit 023861c

Browse files
committed
test fixes
1 parent 11f31b9 commit 023861c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libextra/terminfo/parm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,6 @@ mod test {
204204
#[test]
205205
fn test_basic_setabf() {
206206
let s = bytes!("\\E[48;5;%p1%dm");
207-
assert_eq!(expand(s, [Number(1)], [], []), bytes!("\\E[48;5;1m").to_owned());
207+
assert_eq!(expand(s, [Number(1)], [], []).unwrap(), bytes!("\\E[48;5;1m").to_owned());
208208
}
209209
}

src/libextra/terminfo/parser/compiled.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ pub fn parse(file: @Reader, longnames: bool) -> Result<~TermInfo, ~str> {
314314
#[cfg(test)]
315315
mod test {
316316
use super::*;
317-
use p = std::path::Path;
317+
use p = core::path::Path;
318318

319319
#[test]
320320
fn test_veclens() {

0 commit comments

Comments
 (0)