stg branch --delete master
'
+test_expect_success 'Create a non-StGIT branch and delete it' '
+ git branch bar &&
+ stg branch --delete bar
+ '
+
+test_expect_success 'Delete a nonexistent branch' '
+ stg branch --delete bar
+ '
+
test_expect_success 'Make sure the branch ref was deleted' '
[ -z "$(git show-ref | grep master | tee /dev/stderr)" ]
'