Skip to content

Commit

Permalink
style: fixing spelling (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumKerson committed Aug 8, 2023
1 parent 637f0bd commit ab1f8cb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,53 @@
{
"cSpell.words": [
"alfg",
"alfgmp",
"Amal",
"Backoff",
"baloo",
"bbolt",
"buildx",
"carlmjohnson",
"Childrens",
"cmds",
"Debugln",
"Earthsea",
"emilywoozeller",
"Errorln",
"Fortgang",
"gofmt",
"gohtml",
"goimports",
"golangci",
"gomarkdown",
"goreleaser",
"hadolint",
"historicalfiction",
"Holdbrook",
"httpretry",
"hugoawards",
"incu",
"Infoln",
"isort",
"Kerson",
"Kobna",
"latm",
"ldflags",
"loggerrific",
"logrus",
"maxgladstone",
"Middlewares",
"Mohtar",
"Moov",
"Mvhd",
"precommit",
"sciencefiction",
"scifi",
"shopspring",
"sirupsen",
"stretchr",
"testbooks",
"urlprefix",
"Warnln",
"ybbus",
"youngadult",
Expand Down
4 changes: 2 additions & 2 deletions internal/testing/dataloader/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func GetRootPath(t *testing.T) string {
return dir
}

func GetRootTestdata(t *testing.T, subpaths ...string) string {
func GetRootTestdata(t *testing.T, subPaths ...string) string {
baseTestData := []string{GetRootPath(t), "testdata"}
baseTestData = append(baseTestData, subpaths...)
baseTestData = append(baseTestData, subPaths...)
return filepath.Join(baseTestData...)
}

0 comments on commit ab1f8cb

Please sign in to comment.