This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Commit 3cb4780
test: fix precondition test (#1481)
* test: fix precondition test
This test matches the exact error string from the service, which
has changed. Using the reason instead should be more robust.
Same as googleapis/java-storage#861
Fixes #1480
* fix error structure
* test: changed test to look for error code and reason:
* linted files
Co-authored-by: Sameena Shaffeeullah <shaffeeullah@google.com>1 parent 1b763e4 commit 3cb4780
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3378 | 3378 | | |
3379 | 3379 | | |
3380 | 3380 | | |
3381 | | - | |
3382 | | - | |
3383 | | - | |
3384 | | - | |
3385 | | - | |
3386 | | - | |
3387 | | - | |
3388 | | - | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
3389 | 3386 | | |
3390 | 3387 | | |
3391 | 3388 | | |
| |||
0 commit comments