Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed May 18, 2020
1 parent ac1fb93 commit 46db0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libfmt_macros/tests.rs
@@ -1,7 +1,7 @@
use super::*;

fn same(fmt: &'static str, p: &[Piece<'static>]) {
let parser = Parser::new(fmt, None, vec![], false, ParseMode::Format);
let parser = Parser::new(fmt, None, None, false, ParseMode::Format);
assert_eq!(parser.collect::<Vec<Piece<'static>>>(), p);
}

Expand All @@ -20,7 +20,7 @@ fn fmtdflt() -> FormatSpec<'static> {
}

fn musterr(s: &str) {
let mut p = Parser::new(s, None, vec![], false, ParseMode::Format);
let mut p = Parser::new(s, None, None, false, ParseMode::Format);
p.next();
assert!(!p.errors.is_empty());
}
Expand Down
1 change: 1 addition & 0 deletions src/test/assembly/asm/x86-modifiers.rs
@@ -1,3 +1,4 @@
// no-system-llvm
// revisions: x86_64 i686
// assembly-output: emit-asm
// compile-flags: -O
Expand Down

0 comments on commit 46db0df

Please sign in to comment.