Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii Ovechkin committed Sep 25, 2023
1 parent a68b36f commit def60ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/mocking/mock_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package mocking

import (
"fmt"
. "github.com/ovechkin-dm/mockio/mock"
"github.com/ovechkin-dm/mockio/tests/common"
"testing"
Expand All @@ -19,5 +18,5 @@ func TestByteArrayArgs(t *testing.T) {

WhenSingle(myMock.DoSomething(myBytes)).ThenReturn("test")
result := myMock.DoSomething(myBytes)
fmt.Println(result)
r.AssertEqual(result, "test")
}

0 comments on commit def60ac

Please sign in to comment.