aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/error_test.go
blob: 4a80b056d9f799e98bec4f406143c175366a6759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package config

import "testing"

func TestErrorsCoverage(t *testing.T) {
	openErr := OpenError{}
	_ = openErr.Error()
	_ = openErr.Unwrap()
	decodeErr := DecodeError{}
	_ = decodeErr.Error()
	_ = decodeErr.Unwrap()
	invalidAddressErr := InvalidAddressError{}
	_ = invalidAddressErr.Error()
	_ = invalidAddressErr.Unwrap()
	invalidPortErr := InvalidPortError{}
	_ = invalidPortErr.Error()
	_ = invalidPortErr.Unwrap()
	invalidTokenErr := InvalidTokenError{}
	_ = invalidTokenErr.Error()
	invalidTrainStopErr := InvalidTrainStopError{}
	_ = invalidTrainStopErr.Error()
}