Commit a29d740
committed
Refactor test for Try class to use
- Updated the test case to utilize the `unwrap` method instead of `value`.
- Adjusted the expectation to check for rejection with the correct error message.
Signed-off-by: w01fgang <sumin@unix-center.ru>unwrap method and validate error handling1 parent 517756f commit a29d740
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | | - | |
250 | | - | |
| 249 | + | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
0 commit comments