Skip to content

Commit 526270e

Browse files
committed
Cleaned up negative test
1 parent 07937c9 commit 526270e

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/CustomParser_Test.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,8 @@ public void getObjectCustomParserNoObject_Test() throws IOException{
149149
client.getObject(request, new Function<GetObjectCustomParserParameters, GetObjectResponse>() {
150150
@Override
151151
public GetObjectResponse apply(final GetObjectCustomParserParameters getObjectParserParams) {
152-
fail();
153152
return null;
154153
}
155154
});
156-
fail();
157155
}
158156
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/GetObjectCustomParser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,5 @@ public GetObjectResponse parseXmlResponse(final WebResponse response) throws IOE
6363
return parsingFunction.apply(params);
6464
}
6565
throw ResponseParserUtils.createFailedRequest(response, expectedStatusCodes);
66-
6766
}
6867
}

0 commit comments

Comments
 (0)