(t *testing.T)
| 718 | } |
| 719 | |
| 720 | func TestClientCommitBody(t *testing.T) { |
| 721 | client := Client{ |
| 722 | RepoDir: "./fixtures/simple.git", |
| 723 | } |
| 724 | body, err := client.CommitBody(context.Background(), "6f1a2405cace1633d89a79c74c65f22fe78f9659") |
| 725 | assert.NoError(t, err) |
| 726 | assert.Equal(t, "I'm starting to get the hang of things\n", body) |
| 727 | } |
| 728 | |
| 729 | func TestClientReadBranchConfig(t *testing.T) { |
| 730 | tests := []struct { |
nothing calls this directly
no test coverage detected