File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3333 Output
3434 ERROR I'm failing
3535 ERROR Traceback:
36- ERROR 2: stop("I'm failing") at helper.R #46
36+ ERROR 2: stop("I'm failing") at helper.R #45
3737 ERROR 1: function_that_fails()
3838
3939# shiny input initialization is detected
Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ test_that("log_errors", {
1515 writeLines(eval_outside(" log_errors()" , " stop(42)" ))
1616 writeLines(eval_outside(" log_errors()" , " foobar" ))
1717 writeLines(eval_outside(" log_errors()" , ' f<-function(x) {42 * "foobar"}; f()' ))
18- writeLines(eval_outside(
19- " log_errors(traceback = TRUE)" ,
20- ' source("helper.R", keep.source = TRUE)' ,
21- " function_that_fails()" ))
18+ writeLines(eval_outside(" log_errors(traceback = TRUE)" ,
19+ ' source("helper.R", keep.source = TRUE)' ,
20+ " function_that_fails()" ))
2221 })
2322})
2423
You can’t perform that action at this time.
0 commit comments