diff -u expected.txt output.txt
'
+cat > expected.txt <<EOF
+D foo/bar
+EOF
+test_expect_success 'Status of disappeared newborn' '
+ stg refresh &&
+ touch foo/bar &&
+ stg add foo/bar &&
+ rm foo/bar &&
+ stg status > output.txt &&
+ diff -u expected.txt output.txt
+'
+
test_done