From 2f3787936b2024045a764fb61bf0f92cfa66cbe3 Mon Sep 17 00:00:00 2001
From: Daniel Ehrenberg <littledan@chromium.org>
Date: Thu, 15 Jun 2017 06:25:17 +0200
Subject: [PATCH] Fix typo from review

---
 test/built-ins/Date/prototype/toDateString/format.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/built-ins/Date/prototype/toDateString/format.js b/test/built-ins/Date/prototype/toDateString/format.js
index 540ff38855..e14135453a 100644
--- a/test/built-ins/Date/prototype/toDateString/format.js
+++ b/test/built-ins/Date/prototype/toDateString/format.js
@@ -15,5 +15,5 @@ let match = dateRegExp.exec(new Date().toDateString());
 assert.notSameValue(null, match);
 
 // Years are padded to the left with zeroes
-match = stringRegExp.exec(new Date('0020-01-01T00:00:00Z').toDateString());
+match = dateRegExp.exec(new Date('0020-01-01T00:00:00Z').toDateString());
 assert.notSameValue(null, match);
-- 
GitLab