Skip to content

Commit

Permalink
Trim '.txtar' extension from subtest name
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfield authored and mvdan committed Aug 20, 2022
1 parent 77fe68f commit 57a71e0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions testscript/testscript.go
Expand Up @@ -244,6 +244,7 @@ func RunT(t T, p Params) {
for _, file := range files {
file := file
name := strings.TrimSuffix(filepath.Base(file), ".txt")
name = strings.TrimSuffix(name, ".txtar")
t.Run(name, func(t T) {
t.Parallel()
ts := &TestScript{
Expand Down

0 comments on commit 57a71e0

Please sign in to comment.