From 698b07b074dc554578ecddd138972702f46d0879 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Mon, 7 Apr 2014 16:24:51 -0600 Subject: Add nested buckets. This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56. --- meta_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta_test.go') diff --git a/meta_test.go b/meta_test.go index b229078..1a2d6b5 100644 --- a/meta_test.go +++ b/meta_test.go @@ -6,13 +6,13 @@ import ( ) // Ensure that meta with bad magic is invalid. -func TestMetaValidateMagic(t *testing.T) { +func TestMeta_validate_magic(t *testing.T) { m := &meta{magic: 0x01234567} assert.Equal(t, m.validate(), ErrInvalid) } // Ensure that meta with a bad version is invalid. -func TestMetaValidateVersion(t *testing.T) { +func TestMeta_validate_version(t *testing.T) { m := &meta{magic: magic, version: 200} assert.Equal(t, m.validate(), ErrVersionMismatch) } -- cgit v1.2.3