Skip to content

Commit bb279cb

Browse files
committed
Fixes.
1 parent 7b64610 commit bb279cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

driver/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (linux || darwin || windows || freebsd) && !sqlite3_nosys
1+
//go:build (linux || darwin || windows || freebsd || illumos) && !sqlite3_nosys
22

33
package driver_test
44

tests/bradfitz/sql_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (linux || darwin || windows || freebsd) && !sqlite3_nosys
1+
//go:build (linux || darwin || windows || freebsd || illumos) && !sqlite3_nosys
22

33
package bradfitz
44

tests/endian_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func Test_endianness(t *testing.T) {
3434
log.Fatal(err)
3535
}
3636

37-
const value = -9223372036854775808
37+
const value int64 = -9223372036854775808
3838
{
3939
stmt, _, err := db.Prepare(`INSERT INTO test VALUES (?)`)
4040
if err != nil {
@@ -60,7 +60,7 @@ func Test_endianness(t *testing.T) {
6060
defer stmt.Close()
6161

6262
if stmt.Step() {
63-
if got := stmt.ColumnInt(0); got != value {
63+
if got := stmt.ColumnInt64(0); got != value {
6464
t.Errorf("got %d, want %d", got, value)
6565
}
6666
if got := stmt.ColumnText(0); got != strconv.FormatInt(value, 10) {

0 commit comments

Comments
 (0)