1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2024-11-16 17:41:57 +02:00

Correct spelling

Signed-off-by: Gábor Lipták <gliptak@gmail.com>
This commit is contained in:
Gábor Lipták 2017-11-25 09:32:15 -05:00
parent 08090c7d68
commit 395520ee2d
No known key found for this signature in database
GPG Key ID: 8551785584B8BFFD
8 changed files with 38 additions and 38 deletions

View File

@ -113,7 +113,7 @@ func TestShouldUpdateStats(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -139,7 +139,7 @@ func TestShouldRollbackStatUpdatesOnFailure(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
```
@ -177,7 +177,7 @@ func TestAnyTimeArgument(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
```

View File

@ -32,7 +32,7 @@ func TestAnyTimeArgument(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -53,6 +53,6 @@ func TestByteSliceArgument(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -27,7 +27,7 @@ func TestShouldUpdateStats(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -53,6 +53,6 @@ func TestShouldRollbackStatUpdatesOnFailure(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -61,7 +61,7 @@ func TestShouldGetPosts(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -97,6 +97,6 @@ func TestShouldRespondWithErrorOnFailure(t *testing.T) {
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -34,7 +34,7 @@ func TestShouldNotCancelOrderWithNonPendingStatus(t *testing.T) {
}
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -73,7 +73,7 @@ func TestShouldRefundUserWhenOrderIsCancelled(t *testing.T) {
}
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -103,6 +103,6 @@ func TestShouldRollbackOnError(t *testing.T) {
}
// we make sure that all expectations were met
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -87,6 +87,6 @@ func TestQueryMultiRows(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -43,7 +43,7 @@ func TestContextExecCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -87,7 +87,7 @@ func TestPreparedStatementContextExecCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -126,7 +126,7 @@ func TestContextExecWithNamedArg(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -163,7 +163,7 @@ func TestContextExec(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -204,7 +204,7 @@ func TestContextQueryCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -251,7 +251,7 @@ func TestPreparedStatementContextQueryCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -287,7 +287,7 @@ func TestContextQuery(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -323,7 +323,7 @@ func TestContextBeginCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -354,7 +354,7 @@ func TestContextBegin(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -390,7 +390,7 @@ func TestContextPrepareCancel(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -421,6 +421,6 @@ func TestContextPrepare(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}

View File

@ -70,7 +70,7 @@ func TestIssue14EscapeSQL(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -138,7 +138,7 @@ func TestMockQuery(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -195,7 +195,7 @@ func TestMockQueryTypes(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -244,7 +244,7 @@ func TestTransactionExpectations(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -292,7 +292,7 @@ func TestPrepareExpectations(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -350,7 +350,7 @@ func TestPreparedQueryExecutions(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -504,7 +504,7 @@ func TestExecExpectations(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -596,7 +596,7 @@ func TestRowBuilderAndNilTypes(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -655,7 +655,7 @@ func TestGoroutineExecutionWithUnorderedExpectationMatching(t *testing.T) {
wg.Wait()
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -695,7 +695,7 @@ func ExampleSqlmock_goroutines() {
wg.Wait()
if err := mock.ExpectationsWereMet(); err != nil {
fmt.Println("there were unfulfilled expections:", err)
fmt.Println("there were unfulfilled expectations:", err)
}
// Output:
}
@ -947,7 +947,7 @@ func TestPrepareExec(t *testing.T) {
}
tx.Commit()
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -986,7 +986,7 @@ func TestPrepareQuery(t *testing.T) {
}
tx.Commit()
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -1002,7 +1002,7 @@ func TestExpectedCloseError(t *testing.T) {
t.Error("an error was expected when calling close, but got none")
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}
@ -1060,6 +1060,6 @@ func TestPreparedStatementCloseExpectation(t *testing.T) {
}
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expections: %s", err)
t.Errorf("there were unfulfilled expectations: %s", err)
}
}