Skip to content

Commit

Permalink
WIP: failing test to get error code
Browse files Browse the repository at this point in the history
  • Loading branch information
charlievieth committed Nov 7, 2024
1 parent 94aee4a commit 3d8c94b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sqlite3_go18_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ func TestQueryRowContextCancelInterrupt(t *testing.T) {
}
defer db.Close()

if _, err := db.Exec(`select unixepoch(datetime(100000, 'unixepoch', 'localtime'))`); err != nil {
e := err.(Error)
t.Fatalf("Error: %v - %#v", err, e)
}

const createTableStmt = `
CREATE TABLE timestamps (
ts TIMESTAMP NOT NULL
Expand Down

0 comments on commit 3d8c94b

Please sign in to comment.