aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
authormix3 <himachocost333@hotmail.co.jp>2015-03-05 11:05:58 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2015-03-05 11:06:33 +0900
commite48e0597ab41ba5aac618e241d9551a314838cda (patch)
treee53e66fc179431d26c73e0fa2cf990dbc0f82dff /sqlite3_test.go
parentAdd test (diff)
downloadgolite-e48e0597ab41ba5aac618e241d9551a314838cda.tar.gz
golite-e48e0597ab41ba5aac618e241d9551a314838cda.tar.xz
Fix loc parsing
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r--sqlite3_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go
index 490f852..9c573ce 100644
--- a/sqlite3_test.go
+++ b/sqlite3_test.go
@@ -719,10 +719,10 @@ func TestTimezoneConversion(t *testing.T) {
t.Errorf("Datetime value for id %v (%v) should be %v, not %v", id, tests[id].value, tests[id].expected, dt)
}
if tests[id].expected.Location().String() != ts.Location().String() {
- t.Errorf("Location for id %v (%v) should be %v, not %v", id, tests[id].expected.Location().String(), ts.Location().String())
+ t.Errorf("Location for id %v (%v) should be %v, not %v", id, tests[id].value, tests[id].expected.Location().String(), ts.Location().String())
}
if tests[id].expected.Location().String() != dt.Location().String() {
- t.Errorf("Location for id %v (%v) should be %v, not %v", id, tests[id].expected.Location().String(), dt.Location().String())
+ t.Errorf("Location for id %v (%v) should be %v, not %v", id, tests[id].value, tests[id].expected.Location().String(), dt.Location().String())
}
}