good morning!!!!

Skip to content
Snippets Groups Projects
Commit 71aaec9d authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

Fixing sqlite tests.

parent d5a46dfa
No related branches found
No related tags found
No related merge requests found
...@@ -58,11 +58,6 @@ func (c ConnectionURL) String() (s string) { ...@@ -58,11 +58,6 @@ func (c ConnectionURL) String() (s string) {
c.Options = map[string]string{} c.Options = map[string]string{}
} }
// Using cache=shared by default.
if _, ok := c.Options["cache"]; !ok {
c.Options["cache"] = "shared"
}
// Converting options into URL values. // Converting options into URL values.
for k, v := range c.Options { for k, v := range c.Options {
vv.Set(k, v) vv.Set(k, v)
......
...@@ -40,7 +40,7 @@ func TestConnectionURL(t *testing.T) { ...@@ -40,7 +40,7 @@ func TestConnectionURL(t *testing.T) {
absoluteName, _ := filepath.Abs(c.Database) absoluteName, _ := filepath.Abs(c.Database)
if c.String() != "file://"+absoluteName+"?cache=shared" { if c.String() != "file://"+absoluteName {
t.Fatal(`Test failed, got:`, c.String()) t.Fatal(`Test failed, got:`, c.String())
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment