projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b72a7f2
)
check if the URL href attribute is equal to what we display as text
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 24 Jan 2014 13:01:00 +0000
(13:01 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 24 Jan 2014 13:01:00 +0000
(13:01 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
1c8afd1
..
cce9148
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-295,6
+295,7
@@
describe("Show record", function () {
debug("URL: " + urls[i].href);
expect(urls[i].href).not.toBe(null);
expect(urls[i].href).toMatch(/^https?:\/\/[a-z0-9]+\.[0-9a-z].*\//i);
+ expect(urls[i].href).toBe(urls[i].text);
}
});
});