github.com/haraldrudell/parl@v0.4.176/perrors/errorglue/error-list_test.go (about) 1 /* 2 © 2012–present Harald Rudell <harald.rudell@gmail.com> (https://haraldrudell.github.io/haraldrudell/) 3 ISC License 4 */ 5 6 package errorglue 7 8 import "testing" 9 10 func TestErrorList(t *testing.T) { 11 /* 12 TODO 220319 implement 13 var err error 14 var eSlice []error 15 eSlice = append(eSlice, ErrorList(err)...) 16 _ = eSlice 17 18 var errorListInstance relatedError 19 eSlice = nil 20 eSlice = append(eSlice, ErrorList(errorListInstance)...) 21 _ = eSlice 22 */ 23 }