projects
/
go-signalcontext.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove ‘Signal’ from structure names
[go-signalcontext.git]
/
error_test.go
1
package signalcontext
2
3
import (
4
"os"
5
"testing"
6
7
"github.com/stretchr/testify/assert"
8
)
9
10
func TestError(t *testing.T) {
11
assert.EqualError(t, Error{os.Interrupt},
12
"received signal: "+os.Interrupt.String())
13
}