Skip to content

Commit fc1d59d

Browse files
committed
fix test cases
1 parent 6f6c5cd commit fc1d59d

File tree

1 file changed

+1
-1
lines changed
  • gopls/internal/test/marker/testdata/completion

1 file changed

+1
-1
lines changed

gopls/internal/test/marker/testdata/completion/postfix.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func _() {
6363
foo.len //@snippet(" //", postfixLen, "len(foo)")
6464
foo.print //@snippet(" //", postfixPrint, `fmt.Printf("foo: %v\n", foo)`)
6565
foo.rang //@snippet(" //", postfixRange, "for ${1:}, ${2:} := range foo {\n\t$0\n}")
66-
foo.reverse //@snippet(" //", postfixReverse, "slices.Reverse(foo)\n")
66+
foo.reverse //@snippet(" //", postfixReverse, "slices.Reverse(foo)")
6767
foo.sort //@snippet(" //", postfixSort, "sort.Slice(foo, func(i, j int) bool {\n\t$0\n})")
6868
foo.va //@snippet(" //", postfixVar, "${1:} := foo")
6969
foo.ifnotnil //@snippet(" //", postfixIfNotNil, "if foo != nil {\n\t$0\n}")

0 commit comments

Comments
 (0)