mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
reflect: remove references to container/vector.
It's not even using vectors - the references are just examples. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4938043
This commit is contained in:
parent
95aea24990
commit
ab44a814c2
2 changed files with 5 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ package reflect_test
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"container/vector"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
|
|
@ -1322,8 +1322,8 @@ func TestFieldByName(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestImportPath(t *testing.T) {
|
||||
if path := TypeOf(vector.Vector{}).PkgPath(); path != "container/vector" {
|
||||
t.Errorf("TypeOf(vector.Vector{}).PkgPath() = %q, want \"container/vector\"", path)
|
||||
if path := TypeOf(&base64.Encoding{}).Elem().PkgPath(); path != "encoding/base64" {
|
||||
t.Errorf(`TypeOf(&base64.Encoding{}).Elem().PkgPath() = %q, want "encoding/base64"`, path)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue