Lines Matching full:records
23 if len(db.Records) != 0 {
24 t.Fatalf("empty db contains records")
35 if !reflect.DeepEqual(db.Records, want) {
36 t.Fatalf("bad db after save: %v, want: %v", db.Records, want)
41 if !reflect.DeepEqual(db.Records, want) {
42 t.Fatalf("bad db after flush: %v, want: %v", db.Records, want)
48 if !reflect.DeepEqual(db.Records, want) {
49 t.Fatalf("bad db after reopen: %v, want: %v", db.Records, want)
76 if !reflect.DeepEqual(db.Records, want) {
77 t.Fatalf("bad db after modification: %v, want: %v", db.Records, want)
82 if !reflect.DeepEqual(db.Records, want) {
83 t.Fatalf("bad db after flush: %v, want: %v", db.Records, want)
89 if !reflect.DeepEqual(db.Records, want) {
90 t.Fatalf("bad db after reopen: %v, want: %v", db.Records, want)
116 if len(db.Records) != nrec {
117 t.Fatalf("wrong record count: %v, want %v", len(db.Records), nrec)