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