diff --git a/spec/webview-spec.js b/spec/webview-spec.js index 16e38f2d2d7..c6b69310a8b 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -524,7 +524,7 @@ describe(' tag', function () { webview.addEventListener('page-favicon-updated', function (e) { assert.equal(e.favicons.length, 2) if (process.platform === 'win32') { - assert(/^file:\/\/\/[a-zA-Z]:\/favicon.png$/i.test(e.favicons[0])) + assert(/^file:\/\/\/[A-Z]:\/favicon.png$/i.test(e.favicons[0])) } else { assert.equal(e.favicons[0], 'file:///favicon.png') }