Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislas-m committed Aug 22, 2018
1 parent e208a07 commit 0d2af90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func Test_Touch_Time_Timestamp(t *testing.T) {
m := Model{Value: &TimeTimestamp{}}
m.touchCreatedAt()
m.touchUpdatedAt()
v := m.Value.(TimeTimestamp)
v := m.Value.(*TimeTimestamp)
r.NotZero(v.CreatedAt)
r.NotZero(v.UpdatedAt)
}
Expand All @@ -79,7 +79,7 @@ func Test_Touch_Unix_Timestamp(t *testing.T) {
m := Model{Value: &UnixTimestamp{}}
m.touchCreatedAt()
m.touchUpdatedAt()
v := m.Value.(UnixTimestamp)
v := m.Value.(*UnixTimestamp)
r.NotZero(v.CreatedAt)
r.NotZero(v.UpdatedAt)
}

0 comments on commit 0d2af90

Please sign in to comment.