We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
StorageException
1 parent 5e13dab commit 730f794Copy full SHA for 730f794
src/test/java/com/google/firebase/cloud/StorageClientIT.java
@@ -23,6 +23,7 @@
23
24
import com.google.cloud.storage.Blob;
25
import com.google.cloud.storage.Bucket;
26
+import com.google.cloud.storage.StorageException;
27
import com.google.common.io.CharStreams;
28
import com.google.firebase.testing.IntegrationTestUtils;
29
import java.io.IOException;
@@ -52,7 +53,7 @@ public void testCloudStorageNonExistingBucket() {
52
53
try {
54
storage.bucket("non-existing");
55
fail("No error thrown for non-existing bucket");
- } catch (IllegalArgumentException expected) {
56
+ } catch (IllegalArgumentException | StorageException expected) {
57
// ignore
58
}
59
0 commit comments