Skip to content

Commit

Permalink
grrr...
Browse files Browse the repository at this point in the history
  • Loading branch information
npryce committed Feb 21, 2017
1 parent 3457d59 commit 7da8232
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/migrate-date-format.expected
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion tests/migrate-date-format.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7da8232

Please sign in to comment.