test: idgen add digest (#243)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
93d638c806
commit
00b060d234
|
|
@ -48,8 +48,8 @@ func TestTaskID(t *testing.T) {
|
|||
url: "https://example.com",
|
||||
filter: "",
|
||||
meta: &base.UrlMeta{
|
||||
Range: "foo",
|
||||
Md5: "bar",
|
||||
Range: "foo",
|
||||
Digest: "bar",
|
||||
},
|
||||
bizID: "",
|
||||
expect: func(t *testing.T, d interface{}) {
|
||||
|
|
@ -116,8 +116,8 @@ func TestTwinsTaskID(t *testing.T) {
|
|||
url: "https://example.com",
|
||||
filter: "",
|
||||
meta: &base.UrlMeta{
|
||||
Range: "foo",
|
||||
Md5: "bar",
|
||||
Range: "foo",
|
||||
Digest: "bar",
|
||||
},
|
||||
bizID: "",
|
||||
peerID: "foo",
|
||||
|
|
|
|||
Loading…
Reference in New Issue