diff options
| author | mattn <mattn.jp@gmail.com> | 2016-03-15 10:26:45 +0900 |
|---|---|---|
| committer | mattn <mattn.jp@gmail.com> | 2016-03-15 10:26:45 +0900 |
| commit | 1f1995912cdbac7c04279923e7c243f3dd1abc50 (patch) | |
| tree | 74b099051aaa89a7bccbe8a3549e619fbe79b80d | |
| parent | Merge pull request #282 from zmedico/decltypes (diff) | |
| parent | Fix testing message at TestInsert and TestUpdate (diff) | |
| download | golite-1f1995912cdbac7c04279923e7c243f3dd1abc50.tar.gz golite-1f1995912cdbac7c04279923e7c243f3dd1abc50.tar.xz | |
Merge pull request #286 from y0za/fix-testing-message
Fix testing message at TestInsert and TestUpdate
| -rw-r--r-- | sqlite3_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go index c7996c6..44ec640 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -168,7 +168,7 @@ func TestInsert(t *testing.T) { var result int rows.Scan(&result) if result != 123 { - t.Errorf("Fetched %q; expected %q", 123, result) + t.Errorf("Expected %d for fetched result, but %d:", 123, result) } } @@ -233,7 +233,7 @@ func TestUpdate(t *testing.T) { var result int rows.Scan(&result) if result != 234 { - t.Errorf("Fetched %q; expected %q", 234, result) + t.Errorf("Expected %d for fetched result, but %d:", 234, result) } } |
