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