Commit 96ee8900 authored by gwenn's avatar gwenn

Use tag 'all' to build the CSV module.

parent c5cdcd5b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build all
package sqlite package sqlite
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore // +build all
package sqlite_test package sqlite_test
import ( import (
"fmt"
"testing" "testing"
. "github.com/gwenn/gosqlite" . "github.com/gwenn/gosqlite"
) )
...@@ -29,7 +30,7 @@ func TestCsvModule(t *testing.T) { ...@@ -29,7 +30,7 @@ func TestCsvModule(t *testing.T) {
if err = s.Scan(&i, &col1, &col2, &col3); err != nil { if err = s.Scan(&i, &col1, &col2, &col3); err != nil {
return return
} }
//fmt.Printf("%d: %s|%s|%s\n", i, col1, col2, col3) fmt.Printf("%d: %s|%s|%s\n", i, col1, col2, col3)
return return
}) })
checkNoError(t, err, "couldn't select from CSV virtual table: %s") checkNoError(t, err, "couldn't select from CSV virtual table: %s")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment