[tests] Fix version string checking
This commit is contained in:
parent
bfc7f96d9f
commit
2bd3c17578
@ -12,14 +12,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = cache_check!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = cache_check!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -13,14 +13,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = thin_check!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = thin_check!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -10,14 +10,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = thin_delta!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = thin_delta!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -11,14 +11,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = thin_repair!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = thin_repair!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -12,14 +12,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = thin_restore!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = thin_restore!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -10,14 +10,14 @@ use common::*;
|
||||
#[test]
|
||||
fn accepts_v() -> Result<()> {
|
||||
let stdout = thin_rmap!("-V").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_version() -> Result<()> {
|
||||
let stdout = thin_rmap!("--version").read()?;
|
||||
assert_eq!(stdout, tools_version());
|
||||
assert!(stdout.contains(tools_version()));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user