todo, impl changing sender via @name but not test
This commit is contained in:
@@ -16,7 +16,7 @@ func TestTimeMarshal(t *testing.T) {
|
||||
t.Fatal(string(b))
|
||||
} else if err := json.Unmarshal(b, &other); err != nil {
|
||||
t.Fatal(err)
|
||||
} else if now.Unix() != other.Unix() {
|
||||
t.Fatal(other.Unix(), now.Unix())
|
||||
} else if now.Unix() != other.Get().Unix() {
|
||||
t.Fatal(other.Get().Unix(), now.Unix())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user