gitlet / proj3 / testing / samples / test03-basic-log.in
test03-basic-log.in
Raw
# Set up a simple chain of commits and check their log.
> init
<<<
+ wug.txt wug.txt
> add wug.txt
<<<
> commit "added wug"
<<<
D HEADER "commit [a-f0-9]+"
D DATE "Date: \w\w\w \w\w\w \d+ \d\d:\d\d:\d\d \d\d\d\d [-+]\d\d\d\d"
> log
===
${HEADER}
${DATE}
added wug

===
${HEADER}
${DATE}
initial commit

<<<*