diff options
Diffstat (limited to 'internal/kobject/kobject_test.go')
| -rw-r--r-- | internal/kobject/kobject_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/kobject/kobject_test.go b/internal/kobject/kobject_test.go index c6a54904..41b8ec08 100644 --- a/internal/kobject/kobject_test.go +++ b/internal/kobject/kobject_test.go @@ -60,7 +60,7 @@ func TestConsume(t *testing.T) { DevPath: "\x00", }, }, nil, []error{ - BadSequenceError{Got: 0, Want: 1}, + BadSequenceError{Got: 0, Cur: 0}, }}, {"action", []*uevent.Message{ @@ -468,9 +468,9 @@ func TestErrors(t *testing.T) { want string }{ {"BadSequenceError", BadSequenceError{ - Got: 0xcafe, - Want: 0xbabe, - }, "SEQNUM=51966, want 47806"}, + Got: 0xcafe, + Cur: 0xbabe, + }, "SEQNUM=51966, current 47806"}, {"EUnexpectedColdboot", (&Event{ Action: 0xbeef, |
