From 7da82322d46fa6c1b22abd1bcb1b79e4ac19c9c6 Mon Sep 17 00:00:00 2001 From: Nat Pryce Date: Tue, 21 Feb 2017 17:53:44 +0000 Subject: [PATCH] grrr... --- tests/migrate-date-format.expected | 6 +++--- tests/migrate-date-format.sh | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/migrate-date-format.expected b/tests/migrate-date-format.expected index 8648a03..f1e64a9 100644 --- a/tests/migrate-date-format.expected +++ b/tests/migrate-date-format.expected @@ -1,8 +1,8 @@ + adr init doc/adr/0001-record-architecture-decisions.md -++ ADR_DATE=12/01/1992 -++ adr new With Old Date Format -+ adr_file=doc/adr/0002-with-old-date-format.md ++ ADR_DATE=12/01/1992 ++ adr new With Old Date Format +doc/adr/0002-with-old-date-format.md + adr new With Current Date Format doc/adr/0003-with-current-date-format.md + grep Date: doc/adr/0001-record-architecture-decisions.md doc/adr/0002-with-old-date-format.md doc/adr/0003-with-current-date-format.md diff --git a/tests/migrate-date-format.sh b/tests/migrate-date-format.sh index 5039f17..ee049d0 100644 --- a/tests/migrate-date-format.sh +++ b/tests/migrate-date-format.sh @@ -1,5 +1,8 @@ adr init -adr_file="$(ADR_DATE=12/01/1992 adr new With Old Date Format)" +( + ADR_DATE=12/01/1992 + adr new With Old Date Format +) adr new With Current Date Format grep Date: doc/adr/* adr upgrade-repository