We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9775d4 commit e63a0c3Copy full SHA for e63a0c3
sqlite3_opt_userauth_test.go
@@ -53,7 +53,7 @@ func init() {
53
}
54
55
// Dummy query to force connection and database creation
56
- // Will return ErrUnauthorized (SQLITE_AUTH) if user authentication fails
+ // Will return errUserAuthNoLongerSupported if user authentication fails
57
if _, err = db.Exec("SELECT 1;"); err != nil {
58
defer os.Remove(file)
59
defer db.Close()
@@ -70,7 +70,7 @@ func TestUserAuth(t *testing.T) {
70
if err == nil {
71
t.Fatalf("UserAuth not enabled: %s", err)
72
73
- if !errors.Is(err, ErrUnauthorized) {
+ if !errors.Is(err, errUserAuthNoLongerSupported) {
74
t.Fatal(err)
75
76
0 commit comments