mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-07-02 09:16:03 +08:00
去除setup_with_mit,使用clarm_mit代替
This commit is contained in:
@@ -190,7 +190,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_meta_get() {
|
||||
util::setup_test_with_mit();
|
||||
util::setup_test_with_clean_mit();
|
||||
let metadata = fs::metadata(".mit/HEAD").unwrap();
|
||||
println!("{:?}", util::format_time(&metadata.created().unwrap()));
|
||||
println!("{:?}", util::format_time(&metadata.modified().unwrap()));
|
||||
@@ -199,7 +199,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_load() {
|
||||
util::setup_test_with_mit();
|
||||
util::setup_test_with_clean_mit();
|
||||
let index = Index::new();
|
||||
println!("{:?}", index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user