blob: c532d3f78a0aadd98a86aadfb826e553fac96e01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var tests = {
"Wildcard matches" : {
run : function(data) { return redirector.wildcardMatch(data[0], data[1], 'abc', false); },
describe : function(data) { return data[0] + ' matches ' + data[1]; },
tests : [
['http://foo*', 'http://foobar.is'],
['http://foo*', 'http://foo'],
['*foo*', 'http://foo']
]
}
};
|