Skip to content

Commit

Permalink
refactor: crosschain run test with moduleName (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
fx0x55 authored and github-actions[bot] committed Feb 27, 2024
1 parent 11e36d6 commit 179f325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/crosschain/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package keeper_test

import (
"crypto/ecdsa"
"fmt"
"reflect"
"regexp"
"testing"
Expand Down Expand Up @@ -60,7 +61,7 @@ func TestKeeperTestSuite(t *testing.T) {
if !compile.MatchString(method.Name) {
continue
}
t.Run(method.Name, func(subT *testing.T) {
t.Run(fmt.Sprintf("%s/%s", moduleName, method.Name), func(subT *testing.T) {
mySuite := &KeeperTestSuite{chainName: moduleName}
mySuite.SetT(subT)
mySuite.SetupTest()
Expand Down

0 comments on commit 179f325

Please sign in to comment.