diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-07 16:24:51 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-11 12:36:54 -0600 |
commit | 698b07b074dc554578ecddd138972702f46d0879 (patch) | |
tree | f171f10bd4f17986cb9120d71263995b28273a7a /meta_test.go | |
parent | Update cursor benchmark. (diff) | |
download | dedo-698b07b074dc554578ecddd138972702f46d0879.tar.gz dedo-698b07b074dc554578ecddd138972702f46d0879.tar.xz |
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.
Diffstat (limited to 'meta_test.go')
-rw-r--r-- | meta_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |