X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=f486ae1741c067f65881dd501c8977547b1d89fa;hp=769c748877de9b56ba78bc5cce07e7811821d88a;hb=570fe2100bc5362e735b2c6d7338ab6c7ecef6c8;hpb=4d0391438640a5fa35047a6ed7af43a5e7b72bcc diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 769c748..f486ae1 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -575,7 +575,7 @@ describe("Check translations", function () { expect(list.length).toBe(text.length); for (var i = 0; i < text.length; i++) { - expect($(list[i]).text()).toBe(M(text[i])); + expect($(list[i]).text().match(M(text[i]))).not.toBeNull(); } }