whitespace for hash
This commit is contained in:
parent
8d442b1630
commit
3d416f38e1
@ -65,17 +65,17 @@ describe('Util', function() {
|
||||
describe('#getParamString', function() {
|
||||
it('should create a valid query string for appending depending on url input', function() {
|
||||
var a = {
|
||||
url:"http://example.com/get",
|
||||
obj:{bar: 7, baz: 3},
|
||||
result:"?bar=7&baz=3"
|
||||
url: "http://example.com/get",
|
||||
obj: {bar: 7, baz: 3},
|
||||
result: "?bar=7&baz=3"
|
||||
};
|
||||
|
||||
expect(L.Util.getParamString(a.obj,a.url)).toEqual(a.result);
|
||||
|
||||
var b = {
|
||||
url:"http://example.com/get?justone=qs",
|
||||
obj:{bar: 7, baz: 3},
|
||||
result:"&bar=7&baz=3"
|
||||
url: "http://example.com/get?justone=qs",
|
||||
obj: {bar: 7, baz: 3},
|
||||
result: "&bar=7&baz=3"
|
||||
};
|
||||
|
||||
expect(L.Util.getParamString(b.obj,b.url)).toEqual(b.result);
|
||||
|
Loading…
Reference in New Issue
Block a user