Skip to content

Commit 7da8232

Browse files
committed
grrr...
1 parent 3457d59 commit 7da8232

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

tests/migrate-date-format.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
+ adr init
22
doc/adr/0001-record-architecture-decisions.md
3-
++ ADR_DATE=12/01/1992
4-
++ adr new With Old Date Format
5-
+ adr_file=doc/adr/0002-with-old-date-format.md
3+
+ ADR_DATE=12/01/1992
4+
+ adr new With Old Date Format
5+
doc/adr/0002-with-old-date-format.md
66
+ adr new With Current Date Format
77
doc/adr/0003-with-current-date-format.md
88
+ 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

tests/migrate-date-format.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
adr init
2-
adr_file="$(ADR_DATE=12/01/1992 adr new With Old Date Format)"
2+
(
3+
ADR_DATE=12/01/1992
4+
adr new With Old Date Format
5+
)
36
adr new With Current Date Format
47
grep Date: doc/adr/*
58
adr upgrade-repository

0 commit comments

Comments
 (0)