|
192 | 192 | - | 7 1 1 | reporters/backtraces |
193 | 193 | \ | 8 1 1 | reporters/backtraces |
194 | 194 | | | 9 1 1 | reporters/backtraces |
195 | | - x | 9 1 1 | reporters/backtraces |
| 195 | + / | 10 1 1 | reporters/backtraces |
| 196 | + x | 10 1 1 | reporters/backtraces |
196 | 197 | -------------------------------------------------------------------------------- |
197 | 198 | Error ('reporters/backtraces.R:3:8'): errors thrown at block level are entraced |
198 | 199 | Error in `g()`: foo |
|
294 | 295 | 25. \-f(x - 1) |
295 | 296 | 26. \-f(x - 1) |
296 | 297 |
|
297 | | - Failure ('reporters/backtraces.R:62:6'): (code run outside of `test_that()`) |
| 298 | + Error ('reporters/backtraces.R:64:3'): errors in snapshots get useful backtraces |
| 299 | + Error in `h()`: ! |
| 300 | + Backtrace: |
| 301 | + x |
| 302 | + 1. \-f() |
| 303 | + 2. \-g() |
| 304 | + 3. \-h() |
| 305 | + |
| 306 | + Failure ('reporters/backtraces.R:70:6'): (code run outside of `test_that()`) |
298 | 307 | Expected FALSE to be TRUE. |
299 | 308 | Differences: |
300 | 309 | `actual`: FALSE |
|
307 | 316 | 3. \-h() |
308 | 317 | 4. \-testthat::expect_true(FALSE) |
309 | 318 |
|
310 | | - Failure ('reporters/backtraces.R:67:3'): nested expectations get backtraces |
| 319 | + Failure ('reporters/backtraces.R:75:3'): nested expectations get backtraces |
311 | 320 | Expected FALSE to be TRUE. |
312 | 321 | Differences: |
313 | 322 | `actual`: FALSE |
|
416 | 425 | 25. \-f(x - 1) |
417 | 426 | 26. \-f(x - 1) |
418 | 427 |
|
419 | | - Failure ('reporters/backtraces.R:62:6'): (code run outside of `test_that()`) |
| 428 | + Error ('reporters/backtraces.R:64:3'): errors in snapshots get useful backtraces |
| 429 | + Error in `h()`: ! |
| 430 | + Backtrace: |
| 431 | + x |
| 432 | + 1. \-f() |
| 433 | + 2. \-g() |
| 434 | + 3. \-h() |
| 435 | + |
| 436 | + Failure ('reporters/backtraces.R:70:6'): (code run outside of `test_that()`) |
420 | 437 | Expected FALSE to be TRUE. |
421 | 438 | Differences: |
422 | 439 | `actual`: FALSE |
|
429 | 446 | 3. \-h() |
430 | 447 | 4. \-testthat::expect_true(FALSE) |
431 | 448 |
|
432 | | - Failure ('reporters/backtraces.R:67:3'): nested expectations get backtraces |
| 449 | + Failure ('reporters/backtraces.R:75:3'): nested expectations get backtraces |
433 | 450 | Expected FALSE to be TRUE. |
434 | 451 | Differences: |
435 | 452 | `actual`: FALSE |
|
442 | 459 | 3. \-h() |
443 | 460 | 4. \-testthat::expect_true(FALSE) |
444 | 461 |
|
445 | | - [ FAIL 9 | WARN 1 | SKIP 0 | PASS 1 ] |
| 462 | + [ FAIL 10 | WARN 1 | SKIP 0 | PASS 1 ] |
446 | 463 |
|
447 | 464 | No one gets it right on their first try |
448 | 465 |
|
|
0 commit comments