t6300: add test for "raw" date format

Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

John Keeping committed Sep 3, 2015 at 22:48 UTC f3c1ba502628cf0b6e8674f07c3850b21f365965
1 file changed +4
t/t6300-for-each-ref.sh
+4
@@ -215,6 +215,10 @@ test_expect_success 'Check format "rfc2822" date fields output' '
215 "Mon, 3 Jul 2006 17:18:45 +0200"
216 '
217
218 +test_expect_success 'Check format "raw" date fields output' '
219 + test_date raw "1151939923 +0200" "1151939924 +0200" "1151939925 +0200"
220 +'
221 +
222 test_expect_success 'Check format of strftime date fields' '
223 echo "my date is 2006-07-03" >expected &&
224 git for-each-ref \