From: Wolfram Schneider Date: Wed, 22 Jan 2014 12:25:11 +0000 (+0000) Subject: support HTTPS URL check X-Git-Tag: 1.0.0~1684 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=9f5c1cbe59e9f386ff0d45afcad2b93221b863a5;hp=6e30c22f0c7b4cf120bd99f7e23efaae9459d32e;p=mkws-moved-to-github.git support HTTPS URL check --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 0cca4d7..a8495e6 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -279,7 +279,7 @@ describe("Show record", function () { debug("extracted URL from record: " + url); expect(url).not.toBe(null); - expect(url).toMatch(/^http:\/\/[a-z0-9]+\.[0-9a-z].*\//i); + expect(url).toMatch(/^https?:\/\/[a-z0-9]+\.[0-9a-z].*\//i); }); });