mirror of
https://github.com/golang/go
synced 2024-11-21 19:04:44 -07:00
exp/template: remove debugging dreg.
R=r, gri TBR=r CC=golang-dev https://golang.org/cl/4671047
This commit is contained in:
parent
1e6d946594
commit
d45ba2c146
@ -140,7 +140,6 @@ func collect(t *lexTest) (items []item) {
|
|||||||
|
|
||||||
func TestLex(t *testing.T) {
|
func TestLex(t *testing.T) {
|
||||||
for _, test := range lexTests {
|
for _, test := range lexTests {
|
||||||
println(test.name)
|
|
||||||
items := collect(&test)
|
items := collect(&test)
|
||||||
if !reflect.DeepEqual(items, test.items) {
|
if !reflect.DeepEqual(items, test.items) {
|
||||||
t.Errorf("%s: got\n\t%v\nexpected\n\t%v", test.name, items, test.items)
|
t.Errorf("%s: got\n\t%v\nexpected\n\t%v", test.name, items, test.items)
|
||||||
|
Loading…
Reference in New Issue
Block a user