~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the assert in CommitData.parse() function
[stgit]
/
t
/
t2702-refresh-rm.sh
diff --git
a/t/t2702-refresh-rm.sh
b/t/t2702-refresh-rm.sh
index
0362cc6
..
fa81cee
100755
(executable)
--- a/
t/t2702-refresh-rm.sh
+++ b/
t/t2702-refresh-rm.sh
@@
-20,7
+20,7
@@
test_expect_success 'Initialize StGit stack' '
stg init &&
echo x > x.txt &&
echo y > y.txt &&
stg init &&
echo x > x.txt &&
echo y > y.txt &&
-
git
add x.txt y.txt &&
+
stg
add x.txt y.txt &&
git commit -m "Add some files"
'
git commit -m "Add some files"
'
@@
-28,9
+28,9
@@
cat > expected0.txt <<EOF
D y.txt
EOF
printf '' > expected1.txt
D y.txt
EOF
printf '' > expected1.txt
-test_expect_success '
git
rm a file' '
+test_expect_success '
stg
rm a file' '
stg new -m p0 &&
stg new -m p0 &&
-
git
rm y.txt &&
+
stg
rm y.txt &&
stg status > status0.txt &&
test_cmp expected0.txt status0.txt &&
stg refresh &&
stg status > status0.txt &&
test_cmp expected0.txt status0.txt &&
stg refresh &&
@@
-47,10
+47,10
@@
D y.txt
M x.txt
EOF
printf '' > expected1.txt
M x.txt
EOF
printf '' > expected1.txt
-test_expect_success '
git
rm a file together with other changes' '
+test_expect_success '
stg
rm a file together with other changes' '
stg new -m p1 &&
echo x2 >> x.txt &&
stg new -m p1 &&
echo x2 >> x.txt &&
-
git
rm y.txt &&
+
stg
rm y.txt &&
stg status > status0.txt &&
test_cmp expected0.txt status0.txt &&
stg refresh &&
stg status > status0.txt &&
test_cmp expected0.txt status0.txt &&
stg refresh &&