Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Suggests:
spelling,
knitr,
rmarkdown,
testthat,
testthat (>= 3.0.0),
roxygen2
VignetteBuilder:
knitr
Expand All @@ -35,3 +35,4 @@ Roxygen: list(markdown = TRUE)
SystemRequirements: libgit2 (>= 1.0): libgit2-devel (rpm) or libgit2-dev (deb)
Language: en-US
Config/roxygen2/version: 8.0.0
Config/testthat/edition: 3
5 changes: 4 additions & 1 deletion tests/testthat/test-commit.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ test_that("creating a commit", {
# Inspect the log file
log <- git_log(repo = repo)
expect_equal(log$author[2], local_author(repo))
expect_equal(log$time[1], timestamp)
expect_equal(
format(log$time[1], format = "%Y-%m-%d %H:%M:%S %Z"),
format(timestamp, format = "%Y-%m-%d %H:%M:%S %Z")
)
})

test_that("Passing ref into git_ls gives correct info", {
Expand Down
Loading