Skip to content

Commit

Permalink
diff --unified
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Dec 21, 2023
1 parent 0b6a161 commit 222c53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/roxygen_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ check_roxygenize_idempotent <- function(LOCALE) {
}
cat(sprintf("roxygenize() output differs from saved output for %s.\n", file))
cat("Here's the tools::Rdiff() comparison of the two files:\n")
with(tools::Rdiff(old_file, new_file, Log = TRUE), writeLines(out[-1L]))
system2("diff", c("--unified", old_file, new_file))
stop("Failed in LOCALE=", LOCALE, ".", call. = FALSE)
}
}
Expand Down

0 comments on commit 222c53e

Please sign in to comment.