(t *testing.T)
| 152 | } |
| 153 | |
| 154 | func TestBundleInvalidData1(t *testing.T) { |
| 155 | root := GenerateKey() |
| 156 | bundle := base64.StdEncoding.EncodeToString([]byte("blah")) |
| 157 | _, err := UnbundleConfig(bundle, root.Pubkey()) |
| 158 | assert.ErrorContains(t, err, "invalid bundle, too small") |
| 159 | } |
| 160 | |
| 161 | func TestBundleInvalidData2(t *testing.T) { |
| 162 | root := GenerateKey() |
nothing calls this directly
no test coverage detected