OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / btcsuite / btcd / database / export_test.go
1 // Copyright (c) 2015-2016 The btcsuite developers
2 // Use of this source code is governed by an ISC
3 // license that can be found in the LICENSE file.
4
5 /*
6 This test file is part of the database package rather than than the
7 database_test package so it can bridge access to the internals to properly test
8 cases which are either not possible or can't reliably be tested via the public
9 interface.  The functions, constants, and variables are only exported while the
10 tests are being run.
11 */
12
13 package database
14
15 // TstNumErrorCodes makes the internal numErrorCodes parameter available to the
16 // test package.
17 const TstNumErrorCodes = numErrorCodes