Skip to content

Commit

Permalink
Add failing test for comment placement
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Oct 23, 2023
1 parent 2f86182 commit 59d35bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testdata/script/clothe-returns.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ func qux() (file string, b int, err error) {
// A comment
return
}

// quux does quuxy things
func quux() {}
-- foo.go.golden --
package p

Expand Down Expand Up @@ -66,3 +69,6 @@ func qux() (file string, b int, err error) {
// A comment
return file, b, err
}

// quux does quuxy things
func quux() {}

0 comments on commit 59d35bd

Please sign in to comment.