Re: [StGit PATCH 03/13] Moved that status function to the status command file
David Kågedal <davidk@lysator.liu.se> writes:
Show 20 quoted lines
> diff --git a/t/t0002-status.sh b/t/t0002-status.sh
> index 790b9fb..d0c31b2 100755
> --- a/t/t0002-status.sh
> +++ b/t/t0002-status.sh
> @@ -60,6 +60,14 @@ test_expect_success 'Status with an added file' '
> '
>
> cat > expected.txt <<EOF
> +foo/bar
> +EOF
> +test_expect_success 'Status with an added file and -n option' '
> + stg status -n > output.txt &&
> + diff -u expected.txt output.txt
> +'
> +
> +cat > expected.txt <<EOF
> EOF
> test_expect_success 'Status after refresh' '
> stg new -m "first patch" &&
>
Oops, that should have been in the first patch.
--
David Kågedal