mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Fix Context.ResultPointer.
This commit is contained in:
13
internal/util/error_test.go
Normal file
13
internal/util/error_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package util
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestErrorJoiner(t *testing.T) {
|
||||
var errs ErrorJoiner
|
||||
errs.Join(NilErr, OOMErr)
|
||||
for i, e := range []error{NilErr, OOMErr} {
|
||||
if e != errs[i] {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user