~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new: Allow empty messages with --message and --file
[stgit]
/
t
/
t2200-rebase.sh
diff --git
a/t/t2200-rebase.sh
b/t/t2200-rebase.sh
index
c142e08
..
adbf242
100755
(executable)
--- a/
t/t2200-rebase.sh
+++ b/
t/t2200-rebase.sh
@@
-27,20
+27,20
@@
test_expect_success \
'Rebase to previous commit' \
'
stg rebase master~1 &&
'Rebase to previous commit' \
'
stg rebase master~1 &&
- test `stg id
base@stack
` = `git rev-parse master~1` &&
- test `stg
applied | wc -l
` = 1
+ test `stg id
stack:{base}
` = `git rev-parse master~1` &&
+ test `stg
series --applied -c
` = 1
'
'
-test_expect_
failure
\
+test_expect_
success
\
'Attempt rebase to non-existing commit' \
'
'Attempt rebase to non-existing commit' \
'
- stg rebase not-a-ref
+
command_error
stg rebase not-a-ref
'
test_expect_success \
'Check patches were re-applied' \
'
'
test_expect_success \
'Check patches were re-applied' \
'
- test $(stg
applied | wc -l
) = 1
+ test $(stg
series --applied -c
) = 1
'
test_done
'
test_done