mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
remove unnecessary test
This commit is contained in:
parent
dd93fc16db
commit
d2d31644a1
@ -581,21 +581,6 @@ fn update_series_target_success() -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn push_series_no_remote() -> Result<()> {
|
||||
let (ctx, _temp_dir) = command_ctx("multiple-commits")?;
|
||||
let mut test_ctx = test_ctx(&ctx)?;
|
||||
test_ctx.branch.initialize(&ctx)?;
|
||||
let result = test_ctx
|
||||
.branch
|
||||
.push_series(&ctx, "a-branch-2".into(), false);
|
||||
assert_eq!(
|
||||
result.err().unwrap().to_string(),
|
||||
"No remote has been configured for the target branch"
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn push_series_success() -> Result<()> {
|
||||
let (ctx, _temp_dir) = command_ctx("multiple-commits")?;
|
||||
|
Loading…
Reference in New Issue
Block a user