diff --git a/nmt_test.go b/nmt_test.go index 8bdb3d80..f45c8248 100644 --- a/nmt_test.go +++ b/nmt_test.go @@ -193,6 +193,13 @@ func TestNamespacedMerkleTree_ProveNamespace_Ranges_And_Verify(t *testing.T) { wantProofEnd int wantFound bool }{ + { + "empty tree", 1, + generateLeafData(1, 0, 0, []byte("_data")), + []byte{0}, + 0, 0, + false, + }, { "found", 1, generateLeafData(1, 0, 1, []byte("_data")),