You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sql_runner_test.go
    path of file: ./repos/cockroach/pkg/testutils/sqlutils
    
    the code of the file until where you have to start completion: // Copyright 2016 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the C
    
func TestRowsToStrMatrixError(t *testing.T) {
	defer leaktest.AfterTest(t)()
	defer log.Scope(t).Close(t)

	s, db, _ := serverutils.StartServer(t, base.TestServerArgs{})
	defer s.Stopper().Stop(context.Background())

	// We'll run a query that only fails after returning some rows, so that the
	// error is discovered by RowsToStrMatrix below.
	rows, err := db.Query(
		"select case x when 5 then crdb_internal.force_error('00000', 'testing error') else x end from generate_series(1,5) as v(x);")
	if err != nil {
		t.Fatal(err)
	}
	if _, err := sqlutils.RowsToStrMatrix(rows); !testutils.IsError(err, "testing error") {
		t.Fatalf("expected 'testing error', got: %v", err)
	}
}