common: drop accessors for Value.Val

I don't see why we would need two different accessors for a public field.
This commit is contained in:
Felix Lange
2015-03-20 13:33:11 +01:00
parent dcb9614dfe
commit c161d73d42
4 changed files with 3 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ func (s *ValueSuite) TestValueTypes(c *checker.C) {
c.Assert(str.Str(), checker.Equals, strExp)
c.Assert(num.Uint(), checker.Equals, numExp)
c.Assert(NewValue(inter.Interface()).Cmp(NewValue(interExp)), checker.Equals, true)
c.Assert(NewValue(inter.Val).Cmp(NewValue(interExp)), checker.Equals, true)
c.Assert(byt.Bytes(), checker.DeepEquals, bytExp)
c.Assert(bigInt.BigInt(), checker.DeepEquals, bigExp)
}