Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jun 20, 2024
1 parent 10dcb77 commit 95d5243
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ignite/templates/app/proto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package app
import (
"os"
"path/filepath"
"strings"
"testing"

"github.com/stretchr/testify/require"
Expand All @@ -13,7 +14,7 @@ func TestBufFiles(t *testing.T) {
protoDir, err := os.ReadDir("files/{{protoDir}}")
require.NoError(t, err)
for _, e := range protoDir {
want = append(want, filepath.Join("{{protoDir}}", e.Name()))
want = append(want, filepath.Join("{{protoDir}}", strings.TrimSuffix(e.Name(), ".plush")))
}

got, err := BufFiles()
Expand Down

0 comments on commit 95d5243

Please sign in to comment.