diff --git a/ql/database_test.go b/ql/database_test.go
index 9771fb8339157666a0911d8af44b31174dd35b2c..741e6ff8b6f9e33a4304c5ee6845240e16932a1e 100644
--- a/ql/database_test.go
+++ b/ql/database_test.go
@@ -592,7 +592,7 @@ func TestDataTypes(t *testing.T) {
 	sess, err := db.Open(wrapperName, settings)
 
 	if err != nil {
-		t.Fatalf(err.Error())
+		t.Fatal(err)
 	}
 
 	// We should close the database when it's no longer in use.
@@ -606,7 +606,7 @@ func TestDataTypes(t *testing.T) {
 	id, err := dataTypes.Append(testValues)
 
 	if err != nil {
-		t.Fatalf(err.Error())
+		t.Fatal(err)
 	}
 
 	// Trying to get the same subject we added.
@@ -615,7 +615,7 @@ func TestDataTypes(t *testing.T) {
 	exists, err := res.Count()
 
 	if err != nil {
-		t.Fatalf(err.Error())
+		t.Fatal(err)
 	}
 
 	if exists == 0 {
diff --git a/sqlite/database.go b/sqlite/database.go
index 24f42c2b8f277e1e9ade83fa3c4119e2e4e61911..f7f5a37e69d3f86d28b3cf8ba038e815a6bc5905 100644
--- a/sqlite/database.go
+++ b/sqlite/database.go
@@ -29,12 +29,13 @@ import (
 	// This hack is not required anymore.
 	// See: https://github.com/mattn/go-sqlite3/issues/40
 	//_ "github.com/xiam/gosqlite3"
-	_ "github.com/mattn/go-sqlite3"
 	"log"
 	"os"
 	"reflect"
 	"regexp"
 	"strings"
+
+	_ "github.com/mattn/go-sqlite3"
 	"upper.io/db"
 )