From e48e0597ab41ba5aac618e241d9551a314838cda Mon Sep 17 00:00:00 2001 From: mix3 Date: Thu, 5 Mar 2015 11:05:58 +0900 Subject: Fix loc parsing --- sqlite3_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sqlite3_test.go') 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()) } } -- cgit v1.2.3