about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run-make/issue-107094/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/issue-107094/Makefile b/tests/run-make/issue-107094/Makefile
index 7bbaf31a777..d614e3e1055 100644
--- a/tests/run-make/issue-107094/Makefile
+++ b/tests/run-make/issue-107094/Makefile
@@ -3,5 +3,5 @@
 include ../tools.mk
 
 all:
-	$(BARE_RUSTC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"
-	$(BARE_RUSTDOC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"
+	$(BARE_RUSTC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9]{4}-[0-9]{2}-[0-9]{2}"
+	$(BARE_RUSTDOC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9]{4}-[0-9]{2}-[0-9]{2}"