Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
demoManito committed Sep 5, 2024
1 parent feacf57 commit 591d3e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/hooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -649,4 +649,7 @@ func TestBeforeUpdateWithStructColumn(t *testing.T) {
if err != nil {
t.Fatalf("find struct failed: %v", err)
}
if su.Version != 2 {
t.Errorf("find version failed: %v", su.Version)
}
}

0 comments on commit 591d3e0

Please sign in to comment.