add test
This commit is contained in:
parent
feacf577b3
commit
591d3e0de9
@ -649,4 +649,7 @@ func TestBeforeUpdateWithStructColumn(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("find struct failed: %v", err)
|
t.Fatalf("find struct failed: %v", err)
|
||||||
}
|
}
|
||||||
|
if su.Version != 2 {
|
||||||
|
t.Errorf("find version failed: %v", su.Version)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user