Skip to content

Commit

Permalink
test fix: can't use the same S4 class name in another test
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Jan 21, 2024
1 parent 37ceac6 commit 7128bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extendr-api/tests/set_class_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use libR_sys::{R_compute_identical, Rboolean_TRUE, Rf_PrintValue};
fn test_what_is_returned_from_set_class() {
with_r(|| {
let mut a = list!(a = 42);
let a_class = a.set_class(&["class"]).unwrap();
let a_class = a.set_class(&["class2"]).unwrap();

unsafe {
Rf_PrintValue(a.get());
Expand Down

0 comments on commit 7128bae

Please sign in to comment.