Fix the date in the comment of fetchPath’s test

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
This commit is contained in:
Théophane Hufschmitt 2022-03-16 08:56:01 +01:00 committed by GitHub
parent 2d5c43f210
commit 3cea6f569e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
source common.sh
touch foo -t 202211111111
# We only check whether 2222-11-1* **:**:** is the last modified date since
# We only check whether 2022-11-1* **:**:** is the last modified date since
# `lastModified` is transformed into UTC in `builtins.fetchTarball`.
[[ "$(nix eval --impure --raw --expr "(builtins.fetchTree \"path://$PWD/foo\").lastModifiedDate")" =~ 2022111.* ]]