Skip to content

Commit f3c1ba5

Browse files
johnkeepinggitster
authored andcommitted
t6300: add test for "raw" date format
Signed-off-by: John Keeping <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f95cecf commit f3c1ba5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/t6300-for-each-ref.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ test_expect_success 'Check format "rfc2822" date fields output' '
215215
"Mon, 3 Jul 2006 17:18:45 +0200"
216216
'
217217

218+
test_expect_success 'Check format "raw" date fields output' '
219+
test_date raw "1151939923 +0200" "1151939924 +0200" "1151939925 +0200"
220+
'
221+
218222
test_expect_success 'Check format of strftime date fields' '
219223
echo "my date is 2006-07-03" >expected &&
220224
git for-each-ref \

0 commit comments

Comments
 (0)