Skip to content

Commit 70bb464

Browse files
authored
Add missing r_task (#669)
1 parent 0f5bc87 commit 70bb464

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

crates/ark/tests/data_explorer.rs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -788,18 +788,20 @@ fn test_search_filters() {
788788
// --- search filters ---
789789

790790
// Create a data frame with a bunch of words to use for regex testing.
791-
harp::parse_eval_global(
792-
r#"words <- data.frame(text = c(
793-
"lambent",
794-
"incandescent",
795-
"that will be $10.26",
796-
"pi is 3.14159",
797-
"",
798-
"weasel",
799-
"refrigerator"
800-
))"#,
801-
)
802-
.unwrap();
791+
r_task(|| {
792+
harp::parse_eval_global(
793+
r#"words <- data.frame(text = c(
794+
"lambent",
795+
"incandescent",
796+
"that will be $10.26",
797+
"pi is 3.14159",
798+
"",
799+
"weasel",
800+
"refrigerator"
801+
))"#,
802+
)
803+
.unwrap();
804+
});
803805

804806
// Open the words data set in the data explorer.
805807
let socket = open_data_explorer(String::from("words"));

0 commit comments

Comments
 (0)