File: errors_test.go

package info (click to toggle)
golang-github-containers-image 5.28.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,104 kB
  • sloc: sh: 194; makefile: 73
file content (14 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package internal

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestInvalidSignatureError(t *testing.T) {
	// A stupid test just to keep code coverage
	s := "test"
	err := NewInvalidSignatureError(s)
	assert.Equal(t, s, err.Error())
}