1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-02-15 13:33:26 +02:00

let travis ci test it

This commit is contained in:
gedi 2014-02-07 16:52:26 +02:00
parent af59e07d27
commit b89aa3ac1e
3 changed files with 12 additions and 1 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
language: go
go:
- 1.1
- 1.2
- release
- tip
script:
- go test -v ./...

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/DATA-DOG/go-sqlmock.png)](https://travis-ci.org/DATA-DOG/go-sqlmock)
# Sql driver mock for Golang
This is a **mock** driver as **database/sql/driver** which is very flexible and pragmatic to

View File

@ -177,7 +177,7 @@ func TestUnexpectedOperations(t *testing.T) {
}
}
func TestWrongUnexpectations(t *testing.T) {
func TestWrongExpectations(t *testing.T) {
db, err := sql.Open("mock", "")
if err != nil {
t.Errorf("An error '%s' was not expected when opening a stub database connection", err)