mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
turn process monitoring events into structured objects
This commit is contained in:
@@ -48,7 +48,7 @@ func TestRun(t *testing.T) {
|
||||
case <-time.After(timeout):
|
||||
t.Errorf("did not receive event in time")
|
||||
case e := <-eventCh:
|
||||
if e != tt.events[i] {
|
||||
if e.String() != tt.events[i] {
|
||||
t.Errorf("Wrong event received: got '%s' but wanted '%s'", e, tt.events[i])
|
||||
}
|
||||
case err := <-errCh:
|
||||
|
||||
Reference in New Issue
Block a user