Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
castaneai committed Dec 22, 2023
1 parent c560ffc commit d23ae59
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,19 @@ See [examples/integration_test](./examples/integration_test/integration_test.go)
package xxx_test

import (
"testing"

"github.com/castaneai/minimatch"
"open-match.dev/open-match/pkg/pb"
"testing"

"github.com/castaneai/minimatch"
)

func TestSimpleMatch(t *testing.T) {
s := minimatch.RunTestServer(t, profile, minimatch.MatchFunctionFunc(MakeMatches), minimatch.AssignerFunc(AssignGameServer))
frontend := s.DialFrontend(t)
s := minimatch.RunTestServer(t, map[*pb.MatchProfile]minimatch.MatchFunction{
profile: minimatch.MatchFunctionFunc(MakeMatches),
}, minimatch.AssignerFunc(AssignGameServer))
frontend := s.DialFrontend(t)

// ...
// ...
}
```

Expand Down

0 comments on commit d23ae59

Please sign in to comment.