12 want := []authorID{7, 7, 7}
13 if !equalIDs(got, want) {
14▶ t.Errorf("new file blame = %v, want %v", got, want)
15 }
16}
· · ·
21 want := []authorID{1, 1, 9, 9}
22 if !equalIDs(got, want) {
23▶ t.Errorf("append blame = %v, want %v", got, want)
24 }
25}
· · ·
30 want := []authorID{1, 1}
31 if !equalIDs(got, want) {
32▶ t.Errorf("delete blame = %v, want %v", got, want)
33 }
34}
· · ·
43 want := []authorID{1, 1, 2, 2, 1, 1}
44 if !equalIDs(got, want) {
45▶ t.Errorf("replace blame = %v, want %v", got, want)
46 }
47}
· · ·
52 want := []authorID{0, 0, 0, 0}
53 if !equalIDs(got, want) {
54▶ t.Errorf("pad blame = %v, want %v", got, want)
55 }
56}
+ 24 more matches in this file