Skip to content

Commit 6f268af

Browse files
authored
🔀 Merge pull request #28 from ccamel/chore/rename-symbols
🎨 rename function names (to avoid naming collisions)
2 parents c06ddfd + 53bacdc commit 6f268af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

λh77p_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type httpFixture struct {
3030
assert func(interface{}, error)
3131
}
3232

33-
func successfulPostWithHeadersInvocationFixture() httpFixture {
33+
func httpSuccessfulPostWithHeadersInvocationFixture() httpFixture {
3434
port, err := freeport.GetFreePort()
3535
So(err, ShouldBeNil)
3636

@@ -89,7 +89,7 @@ func successfulPostWithHeadersInvocationFixture() httpFixture {
8989
}
9090
}
9191

92-
func timeoutInvocationFixture() httpFixture {
92+
func httpTimeoutInvocationFixture() httpFixture {
9393
port, err := freeport.GetFreePort()
9494
So(err, ShouldBeNil)
9595

@@ -138,8 +138,8 @@ func timeoutInvocationFixture() httpFixture {
138138
func TestHttpFunction(t *testing.T) {
139139
Convey("Considering the Http function", t, func(c C) {
140140
fixtures := []httpFixtureSupplier{
141-
successfulPostWithHeadersInvocationFixture,
142-
timeoutInvocationFixture,
141+
httpSuccessfulPostWithHeadersInvocationFixture,
142+
httpTimeoutInvocationFixture,
143143
}
144144

145145
for _, fixtureSupplier := range fixtures {
@@ -177,7 +177,7 @@ func TestHttpActionFactory(t *testing.T) {
177177
})
178178
}
179179

180-
func TestValidateAction(t *testing.T) {
180+
func TestHttpValidateAction(t *testing.T) {
181181

182182
Convey("Validate() shall validate correctly the HTTPAction", t, func(c C) {
183183
cases := []struct {

0 commit comments

Comments
 (0)