fix: updateTime, createTime and HashInfo (#5111)

This commit is contained in:
Sean
2023-08-29 13:31:24 +08:00
committed by GitHub
parent ce10c9f120
commit 6308f1c35d
7 changed files with 64 additions and 10 deletions

View File

@ -58,7 +58,10 @@ func TestMultiHasher(t *testing.T) {
}
expect := hashInfo.GetHash(nil)
require.True(t, len(expect) == 0, "unknown type should return empty string")
Log.Info(hashInfo.String())
str := hashInfo.String()
Log.Info("str=" + str)
newHi := FromString(str)
assert.Equal(t, newHi.h, hashInfo.h)
}
}