From 2fead200dba13ec74d81e842d8bae97d1e67fcc4 Mon Sep 17 00:00:00 2001 From: Elias506 <56119080+Elias506@users.noreply.github.com> Date: Sun, 15 Nov 2020 14:51:05 +0300 Subject: [PATCH] Update faked_test.go Removed unnecessary code --- src/database/sql/fakedb_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/database/sql/fakedb_test.go b/src/database/sql/fakedb_test.go index 7605a2a6d2..5a0b0935c2 100644 --- a/src/database/sql/fakedb_test.go +++ b/src/database/sql/fakedb_test.go @@ -906,7 +906,7 @@ func (s *fakeStmt) QueryContext(ctx context.Context, args []driver.NamedValue) ( parentMem: s.c, posRow: -1, rows: [][]*row{ - []*row{ + { { cols: []interface{}{ txStatus, @@ -915,12 +915,12 @@ func (s *fakeStmt) QueryContext(ctx context.Context, args []driver.NamedValue) ( }, }, cols: [][]string{ - []string{ + { "tx_status", }, }, colType: [][]string{ - []string{ + { "string", }, },