File tree 1 file changed +2
-3
lines changed
src/test/java/com/google/firebase/cloud
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 23
23
24
24
import com .google .cloud .storage .Blob ;
25
25
import com .google .cloud .storage .Bucket ;
26
- import com .google .cloud .storage .StorageException ;
27
26
import com .google .common .io .CharStreams ;
28
27
import com .google .firebase .testing .IntegrationTestUtils ;
29
28
import java .io .IOException ;
@@ -51,9 +50,9 @@ public void testCloudStorageCustomBucket() {
51
50
public void testCloudStorageNonExistingBucket () {
52
51
StorageClient storage = StorageClient .getInstance (IntegrationTestUtils .ensureDefaultApp ());
53
52
try {
54
- storage .bucket ("non- existing" );
53
+ storage .bucket ("non. existing" );
55
54
fail ("No error thrown for non-existing bucket" );
56
- } catch (IllegalArgumentException | StorageException expected ) {
55
+ } catch (IllegalArgumentException expected ) {
57
56
// ignore
58
57
}
59
58
}
You can’t perform that action at this time.
0 commit comments