good morning!!!!

Skip to content
Snippets Groups Projects
Commit cd96438d authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

Removing test for compatibility with deprecated "field" tag.

parent 7363864a
Branches
Tags
No related merge requests found
...@@ -977,26 +977,6 @@ func TestEven(t *testing.T) { ...@@ -977,26 +977,6 @@ func TestEven(t *testing.T) {
t.Fatalf("Expecting no data with wrapper %s. Got: %v\n", wrapper, item) t.Fatalf("Expecting no data with wrapper %s. Got: %v\n", wrapper, item)
} }
} }
// Testing (deprecated) "field" tag.
for {
// Testing named inputs (using tags).
var item struct {
Value uint `field:"input"`
}
err = res.Next(&item)
if err != nil {
if err == db.ErrNoMoreRows {
break
} else {
t.Fatalf(`%s: %v`, wrapper, err)
}
}
if item.Value%2 == 0 {
t.Fatalf("Expecting no data with wrapper %s. Got: %v\n", wrapper, item)
}
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment