tests/testthat/line_breaks_and_other/if_with_line_break_indention-out.R

# adding line-break
if (x) {
  1 + 1 + +1
} else {
  3
}

# removing line-break
test_that("x", {
  my_test(call)
})
krlmlr/styler documentation built on March 28, 2024, 8:54 a.m.