Signed-off-by: George Jenkins <gvjenkins@gmail.com>
@ -20,20 +20,6 @@ import (
"fmt"
)
// ErrNoTable indicates that a chart does not have a matching table.
type ErrNoTable struct {
Key string
}
func (e ErrNoTable) Error() string { return fmt.Sprintf("%q is not a table", e.Key) }
// ErrNoValue indicates that Values does not contain a key with a value
type ErrNoValue struct {
func (e ErrNoValue) Error() string { return fmt.Sprintf("%q is not a value", e.Key) }
type ErrInvalidChartName struct {
Name string
@ -15,23 +15,3 @@ limitations under the License.
*/
package chartutil
import (
"testing"
func TestErrorNoTableDoesNotPanic(t *testing.T) {
x := "empty"
y := ErrNoTable{x}
t.Logf("error is: %s", y)
func TestErrorNoValueDoesNotPanic(t *testing.T) {
y := ErrNoValue{x}