aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/config
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-11 16:33:05 +0900
committernsfisis <nsfisis@gmail.com>2026-07-11 16:33:05 +0900
commit27d00055df8691a6bd99aaf38633a7338b16cc6a (patch)
tree4af17ccff5f8c2d09156fa62c559e60e3e683dac /crates/shirabe/tests/config
parent1ec2220def43e37e5a65b96dde93c19b493258f4 (diff)
downloadphp-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.tar.gz
php-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.tar.zst
php-shirabe-27d00055df8691a6bd99aaf38633a7338b16cc6a.zip
chore: use fully-qualified name for Rc/RefCell
Diffstat (limited to 'crates/shirabe/tests/config')
-rw-r--r--crates/shirabe/tests/config/json_config_source_test.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/tests/config/json_config_source_test.rs b/crates/shirabe/tests/config/json_config_source_test.rs
index 200a6216..155b83a7 100644
--- a/crates/shirabe/tests/config/json_config_source_test.rs
+++ b/crates/shirabe/tests/config/json_config_source_test.rs
@@ -6,9 +6,7 @@ use shirabe::config::JsonConfigSource;
use shirabe::json::JsonFile;
use shirabe::util::filesystem::Filesystem;
use shirabe_php_shim::PhpMixed;
-use std::cell::RefCell;
use std::path::PathBuf;
-use std::rc::Rc;
use tempfile::TempDir;
fn set_up() -> TearDown {
@@ -58,7 +56,7 @@ fn assert_file_equals(expected: &std::path::Path, actual: &std::path::Path) {
fn json_config_source(config: &std::path::Path) -> JsonConfigSource {
let json_file = JsonFile::new(config.to_string_lossy().to_string(), None, None).unwrap();
- JsonConfigSource::new(Rc::new(RefCell::new(json_file)), false)
+ JsonConfigSource::new(std::rc::Rc::new(std::cell::RefCell::new(json_file)), false)
}
#[test]