From 381de67e316b278ac88dc07e91e44fa53e033403 Mon Sep 17 00:00:00 2001 From: kbvernon Date: Wed, 20 Nov 2024 17:14:02 -0700 Subject: [PATCH] replace glue with paste, update snapshot to reflect new unicode license --- R/license_note.R | 6 +++--- tests/testthat/_snaps/license_note.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/license_note.R b/R/license_note.R index 2f5cfa03..b1508c10 100644 --- a/R/license_note.R +++ b/R/license_note.R @@ -110,7 +110,7 @@ write_license_note <- function( "contains the following Rust crates:\n", "\n", "\n", - separator, "\n" + separator ) note_body <- paste0( @@ -118,9 +118,9 @@ write_license_note <- function( "Name: ", packages[["name"]], "\n", "Repository: ", packages[["repository"]], "\n", "Authors: ", packages[["authors"]], "\n", - "License ", packages[["license"]], "\n", + "License: ", packages[["license"]], "\n", "\n", - separator, "\n" + separator ) write_file( diff --git a/tests/testthat/_snaps/license_note.md b/tests/testthat/_snaps/license_note.md index d32c1ba9..44be7cc5 100644 --- a/tests/testthat/_snaps/license_note.md +++ b/tests/testthat/_snaps/license_note.md @@ -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 -------------------------------------------------------------