Skip to content

Commit

Permalink
t6300: add test for "raw" date format
Browse files Browse the repository at this point in the history
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
John Keeping authored and Junio C Hamano committed Sep 3, 2015
1 parent f95cecf commit f3c1ba5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/t6300-for-each-ref.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ test_expect_success 'Check format "rfc2822" date fields output' '
"Mon, 3 Jul 2006 17:18:45 +0200"
'

test_expect_success 'Check format "raw" date fields output' '
test_date raw "1151939923 +0200" "1151939924 +0200" "1151939925 +0200"
'

test_expect_success 'Check format of strftime date fields' '
echo "my date is 2006-07-03" >expected &&
git for-each-ref \
Expand Down

0 comments on commit f3c1ba5

Please sign in to comment.