7func TestPad(t *testing.T) {
21 for _, tt := range tests {
22 result := pad(tt.input, tt.width)
23 if result != tt.expected {
24 t.Errorf("expected %q, got %q", tt.expected, result)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list