Skip to content

Commit 8f56bb7

Browse files
committed
format tests
1 parent 9f7f944 commit 8f56bb7

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

internal-api/src/test/groovy/datadog/trace/bootstrap/instrumentation/api/InferredProxyContextTest.groovy

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,24 @@ class InferredProxyContextTest extends Specification {
8282
def context = new InferredProxyContext()
8383

8484
when:
85-
if (proxyName) context.setProxyName("proxy")
86-
if (startTime) context.setStartTime("123")
87-
if (domainName) context.setDomainName("domain")
88-
if (httpMethod) context.setHttpMethod("GET")
89-
if (path) context.setPath("/path")
90-
if (stage) context.setStage("prod")
85+
if (proxyName) {
86+
context.setProxyName("proxy")
87+
}
88+
if (startTime) {
89+
context.setStartTime("123")
90+
}
91+
if (domainName) {
92+
context.setDomainName("domain")
93+
}
94+
if (httpMethod) {
95+
context.setHttpMethod("GET")
96+
}
97+
if (path) {
98+
context.setPath("/path")
99+
}
100+
if (stage) {
101+
context.setStage("prod")
102+
}
91103

92104
then:
93105
context.validContext() == expected

0 commit comments

Comments
 (0)