File: mssql_test.go

package info (click to toggle)
golang-github-denisenkom-go-mssqldb 0.0~git20170717.0.8fccfc8-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 3,232 kB
  • sloc: makefile: 5
file content (11 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
package mssql

import "testing"

func TestBadOpen(t *testing.T) {
	drv := driverWithProcess(t)
	_, err := drv.open("port=bad")
	if err == nil {
		t.Fail()
	}
}