Skip to content

Commit 57a71e0

Browse files
bitfieldmvdan
authored andcommitted
Trim '.txtar' extension from subtest name
1 parent 77fe68f commit 57a71e0

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed
File renamed without changes.

testscript/testscript.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ func RunT(t T, p Params) {
244244
for _, file := range files {
245245
file := file
246246
name := strings.TrimSuffix(filepath.Base(file), ".txt")
247+
name = strings.TrimSuffix(name, ".txtar")
247248
t.Run(name, func(t T) {
248249
t.Parallel()
249250
ts := &TestScript{

0 commit comments

Comments
 (0)