Skip to content

Commit

Permalink
feat: fix review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-qlogic committed Jul 21, 2020
1 parent 997b2b6 commit 8811b6c
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -338,7 +338,7 @@ public void testDeleteRecursive() throws IOException {
}

@Test
public void testSameProvider() {
public void testSameProvider() throws IOException {
try (CloudStorageFileSystem sourceFileSystem =
CloudStorageFileSystem.forBucket(
"bucket",
Expand All @@ -351,13 +351,11 @@ public void testSameProvider() {
assertEquals(sourceFileSystem.config(), destFileSystem.config());
assertEquals("bucket", sourceFileSystem.bucket());
assertEquals("new-bucket", destFileSystem.bucket());
} catch (IOException e) {

}
}

@Test
public void testDifferentProvider() {
public void testDifferentProvider() throws IOException {
try (CloudStorageFileSystem sourceFileSystem =
CloudStorageFileSystem.forBucket(
"bucket",
Expand All @@ -370,8 +368,6 @@ public void testDifferentProvider() {
assertNotEquals(sourceFileSystem.config(), destFileSystem.config());
assertEquals("bucket", sourceFileSystem.bucket());
assertEquals("new-bucket", destFileSystem.bucket());
} catch (IOException e) {
// fail
}
}
/**
Expand Down

0 comments on commit 8811b6c

Please sign in to comment.