Skip to content

Commit d59ed35

Browse files
committed
Restore the old test
1 parent 4591a5a commit d59ed35

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: cue/errors/errors_test.go

+12
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ func TestErrorList_Reset(t *testing.T) {
6767
}
6868
}
6969

70+
func TestErrorList_Sort(t *testing.T) {
71+
tests := []struct {
72+
name string
73+
p list
74+
}{
75+
// TODO: Add test cases.
76+
}
77+
for _, tt := range tests {
78+
tt.p.Sort()
79+
}
80+
}
81+
7082
func TestErrorList_RemoveMultiples(t *testing.T) {
7183
error1 := Promote(fmt.Errorf("error1"), "msg1")
7284
error2 := Promote(fmt.Errorf("error2"), "msg2")

0 commit comments

Comments
 (0)