Skip to content

Commit

Permalink
replace glue with paste, update snapshot to reflect new unicode license
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvernon committed Nov 21, 2024
1 parent 993f6d7 commit 381de67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions R/license_note.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,17 @@ write_license_note <- function(
"contains the following Rust crates:\n",

Check warning on line 110 in R/license_note.R

View check run for this annotation

Codecov / codecov/patch

R/license_note.R#L109-L110

Added lines #L109 - L110 were not covered by tests
"\n",
"\n",
separator, "\n"
separator
)

note_body <- paste0(
"\n",
"Name: ", packages[["name"]], "\n",
"Repository: ", packages[["repository"]], "\n",
"Authors: ", packages[["authors"]], "\n",
"License ", packages[["license"]], "\n",
"License: ", packages[["license"]], "\n",
"\n",
separator, "\n"
separator
)

Check warning on line 124 in R/license_note.R

View check run for this annotation

Codecov / codecov/patch

R/license_note.R#L116-L124

Added lines #L116 - L124 were not covered by tests

write_file(
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/license_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
Name: unicode-ident
Repository: https://github.com/dtolnay/unicode-ident
Authors: David Tolnay
License: (MIT OR Apache-2.0) AND Unicode-DFS-2016
License: (MIT OR Apache-2.0) AND Unicode-3.0
-------------------------------------------------------------

0 comments on commit 381de67

Please sign in to comment.