File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/com/google/firebase/cloud Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2323
2424import com .google .cloud .storage .Blob ;
2525import com .google .cloud .storage .Bucket ;
26- import com .google .cloud .storage .StorageException ;
2726import com .google .common .io .CharStreams ;
2827import com .google .firebase .testing .IntegrationTestUtils ;
2928import java .io .IOException ;
@@ -51,9 +50,9 @@ public void testCloudStorageCustomBucket() {
5150 public void testCloudStorageNonExistingBucket () {
5251 StorageClient storage = StorageClient .getInstance (IntegrationTestUtils .ensureDefaultApp ());
5352 try {
54- storage .bucket ("non- existing" );
53+ storage .bucket ("non. existing" );
5554 fail ("No error thrown for non-existing bucket" );
56- } catch (IllegalArgumentException | StorageException expected ) {
55+ } catch (IllegalArgumentException expected ) {
5756 // ignore
5857 }
5958 }
You can’t perform that action at this time.
0 commit comments