fix: go1.9 monotonic time is not symetric across serialization using ==

parent 2c0f26f0
......@@ -88,8 +88,8 @@ func TestProvidersSerialization(t *testing.T) {
t.Fatal("failed to load set correctly")
}
if pt1 != lt1 {
t.Fatal("time wasnt serialized correctly")
if !pt1.Equal(lt1) {
t.Fatalf("time wasnt serialized correctly, %v != %v", pt1, lt1)
}
lt2, ok := pset.set[p2]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment