3 test_description
='Run "stg clean"'
7 test_expect_success
'Initialize StGit stack' '
19 test_expect_success
'Clean empty patches' '
20 [ "$(echo $(stg applied))" = "e0 p0 e1" ] &&
21 [ "$(echo $(stg unapplied))" = "e2" ] &&
23 [ "$(echo $(stg applied))" = "p0" ] &&
24 [ "$(echo $(stg unapplied))" = "" ]