Quieten deadcode
This commit is contained in:
parent
484bf145a8
commit
8118c8d3cc
11 changed files with 25 additions and 37 deletions
|
|
@ -23,10 +23,10 @@ import (
|
|||
func TestLinksTo(t *testing.T) {
|
||||
qs := &store{
|
||||
data: []string{1: "cool"},
|
||||
iter: newFixed(),
|
||||
iter: NewFixed(Identity),
|
||||
}
|
||||
qs.iter.(*Fixed).Add(2)
|
||||
fixed := newFixed()
|
||||
fixed := NewFixed(Identity)
|
||||
val := qs.ValueOf("cool")
|
||||
if val != 1 {
|
||||
t.Fatalf("Failed to return correct value, got:%v expect:1", val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue