提交 5671d5f8 编写于 作者: Z zWX1234017
上级 2a67cde5
......@@ -214,10 +214,10 @@ describe('UrlFunTest', function () {
it('testNewURLParams001', 0, function () {
let params = new Url.URLParams(undefined);
let result = params.toString();
expect(result).assertEqual('undefined=undefined');
expect(result).assertEqual('');
let params1 = new Url.URLParams(null);
let result1 = params1.toString();
expect(result1).assertEqual('undefined=undefined');
expect(result1).assertEqual('');
})
/**
......@@ -1227,10 +1227,10 @@ describe('UrlFunTest', function () {
it('testNewURLSearchParams', 0, function () {
let params = new Url.URLSearchParams(undefined);
let result = params.toString()
expect(result).assertEqual('undefined=undefined')
expect(result).assertEqual('')
let params1 = new Url.URLSearchParams(null);
let result2 = params1.toString()
expect(result2).assertEqual('undefined=undefined')
expect(result2).assertEqual('')
})
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册