Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Commit cc3335f

Browse files
committed
Change visibility of tests common items
1 parent 24ea8b6 commit cc3335f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/core/tests/common.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
use stract_core::index::Index;
22

3-
pub(crate) type Result<T, E = anyhow::Error> = std::result::Result<T, E>;
3+
pub type Result<T, E = anyhow::Error> = std::result::Result<T, E>;
44

5-
pub(crate) fn temporary_index() -> Result<Index> {
5+
pub fn temporary_index() -> Result<Index> {
66
let path = stdx::gen_temp_path();
77
Index::open(path)
88
}
99

10-
pub(crate) fn rand_words(num_words: usize) -> String {
10+
pub fn rand_words(num_words: usize) -> String {
1111
use rand::{distributions::Alphanumeric, Rng};
1212
let mut res = String::new();
1313

0 commit comments

Comments
 (0)