]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile/internal/syntax: add ShortString tests
authorRobert Griesemer <gri@golang.org>
Fri, 8 Jan 2021 01:20:55 +0000 (17:20 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 8 Jan 2021 17:32:18 +0000 (17:32 +0000)
commit7903214fcc52a53a7749b4634eb9e940c27ffe75
tree0e09bd0e3ad27ca6d7f98f64e8279236234713ab
parent0aede1205bdac5d3b938476a6e682190e835bb26
[dev.typeparams] cmd/compile/internal/syntax: add ShortString tests

This CL moves the exprstring_test.go from the types2
package into the syntax package (which contains the
actual ShortString function). The code is mostly un-
changed but for the updated TestShortString function.

Change-Id: Ib39e3181e643fc0ac96ddf144a3114893a50c2fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/282554
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/syntax/printer_test.go
src/cmd/compile/internal/types2/exprstring_test.go [deleted file]