Skip to content

Commit 3516ee7

Browse files
committed
Fix test name and formatting
1 parent 9fc7ec6 commit 3516ee7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

inst/tinytest/cpp/wrap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,6 @@ SEXP vector_Foo(){
308308
// [[Rcpp::plugins(cpp17)]]
309309
// [[Rcpp::export]]
310310
SEXP test_wrap_string_view(){
311-
std::string_view sv = "test string value";
312-
return wrap(sv);
311+
std::string_view sv = "test string value" ;
312+
return wrap(sv) ;
313313
}

inst/tinytest/test_wrap.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,5 @@ expect_equal(sapply( vector_Foo(), function(.) .$get() ), c(2, 3),
133133
# test.wrap.custom.class <- function() {
134134
expect_equal(test_wrap_custom_class(), 42)
135135

136-
# test.wrap.custom.string_view <- function() {
136+
# test.wrap.string_view <- function() {
137137
expect_equal(test_wrap_string_view(), "test string value")

0 commit comments

Comments
 (0)