aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r--sqlite3_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go
index 3e50258..7df2169 100644
--- a/sqlite3_test.go
+++ b/sqlite3_test.go
@@ -743,3 +743,10 @@ func TestStress(t *testing.T) {
db.Close()
}
}
+
+func TestVersion(t *testing.T) {
+ s, n, id, := Version()
+ if s == "" || n == 0 || id == 0 {
+ t.Errorf("Version failed %q, %d, %q\n", s, n, id)
+ }
+}