hunk.code_window:                 title = buildGroupChannelName(channel.id);
               } else {
                   title = channel.display_name;
               }
               let notifyText = post.message.replace(/\n+/g, ' ');
               if (notifyText.length > 50) {
                   notifyText = notifyText.substring(0, 49) + '...';
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit:             if (title === '') {
                   title = msgProps.channel_display_name;
               }
  
hunk.file_path: webapp/stores/notification_store.jsx
hunk.type: add
file: package procfs
  
  import "testing"
  
  func TestProcIO(t *testing.T) {
  	p, err := FS("fixtures").NewProc(26231)
  	if err != nil {
  		t.Fatal(err)
  	}
  
  	s, err := p.NewIO()
  	if err != nil {
  		t.Fatal(err)
  	}
  
  	for _, test := range []struct {
  		name string
  		want int64
  		have int64
  	}{
  		{name: "RChar", want: 750339, have: int64(s.RChar)},
  		{name: "WChar", want: 818609, have: int64(s.WChar)},
  		{name: "SyscR", want: 7405, have: int64(s.SyscR)},
  		{name: "SyscW", want: 5245, have: int64(s.SyscW)},
  		{name: "ReadBytes", want: 1024, have: int64(s.ReadBytes)},
  		{name: "WriteBytes", want: 2048, have: int64(s.WriteBytes)},
  		{name: "CancelledWriteBytes", want: -1024, have: s.CancelledWriteBytes},
  	} {
  		if test.want != test.have {
  			t.Errorf("want %s %d, have %d", test.name, test.want, test.have)
  		}
  	}
  }
  