Skip to content

Commit 7121b08

Browse files
committed
Merge pull request #113 from robert-zaremba/master
Documentation update, use correct import fo go-check and resolve IsNil issue in One
2 parents 34ae336 + 7c69abf commit 7121b08

19 files changed

+25
-21
lines changed

gorethink_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88
"time"
99

10-
test "launchpad.net/gocheck"
10+
test "gopkg.in/check.v1"
1111
)
1212

1313
var sess *Session

query_aggregation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestAggregationReduce(c *test.C) {

query_control_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55
"time"
66

7-
test "launchpad.net/gocheck"
7+
test "gopkg.in/check.v1"
88
)
99

1010
func (s *RethinkSuite) TestControlExecNil(c *test.C) {
@@ -15,7 +15,7 @@ func (s *RethinkSuite) TestControlExecNil(c *test.C) {
1515

1616
err = res.One(&response)
1717

18-
c.Assert(err, test.IsNil)
18+
c.Assert(err, test.Equals, ErrEmptyResult)
1919
c.Assert(response, test.Equals, nil)
2020
}
2121

query_db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestDbCreate(c *test.C) {

query_join_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestJoinInnerJoin(c *test.C) {

query_manipulation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestManipulationDocField(c *test.C) {

query_math_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestMathAdd(c *test.C) {

query_select_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package gorethink
33
import (
44
"fmt"
55

6-
test "launchpad.net/gocheck"
6+
test "gopkg.in/check.v1"
77
)
88

99
func (s *RethinkSuite) TestSelectGet(c *test.C) {

query_string_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gorethink
22

33
import (
4-
test "launchpad.net/gocheck"
4+
test "gopkg.in/check.v1"
55
)
66

77
func (s *RethinkSuite) TestStringMatchSuccess(c *test.C) {

query_table_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package gorethink
33
import (
44
"sync"
55

6-
test "launchpad.net/gocheck"
6+
test "gopkg.in/check.v1"
77
)
88

99
func (s *RethinkSuite) TestTableCreate(c *test.C) {

0 commit comments

Comments
 (0)