Skip to content

Commit 0a763c9

Browse files
committed
Make commit-date pattern more specific in test for issue 107094
1 parent bfa8798 commit 0a763c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make/issue-107094/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
include ../tools.mk
44

55
all:
6-
$(BARE_RUSTC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"
7-
$(BARE_RUSTDOC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"
6+
$(BARE_RUSTC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9]{4}-[0-9]{2}-[0-9]{2}"
7+
$(BARE_RUSTDOC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9]{4}-[0-9]{2}-[0-9]{2}"

0 commit comments

Comments
 (0)