5 "github.com/bmizerany/assert"
9func TestHtpasswd(t *testing.T) {
10 file := bytes.NewBuffer([]byte("testuser:{SHA}PaVBVZkYqAjCQCu6UBL2xgsnZhw=\n"))
11 h, err := NewHtpasswd(file)
12 assert.Equal(t, err, nil)
14 valid := h.Validate("testuser", "asdf")
15 assert.Equal(t, valid, true)
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