Skip to content

Commit 60b388d

Browse files
Continue fixing renaming of shared python/rust functions with different signatures
1 parent 45d8d76 commit 60b388d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

anise/src/almanac/metaload/metafile.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,28 +344,28 @@ mod ut_metafile {
344344
uri: "C:\\Users\\me\\meta.dhall".to_string(),
345345
crc32: None,
346346
};
347-
assert!(window_path._process(true).is_ok());
347+
assert!(window_path.process(true).is_ok());
348348
assert_eq!(window_path.uri, "C:\\Users\\me\\meta.dhall".to_string());
349349

350350
let mut file_prefix_path = MetaFile {
351351
uri: "fIlE:///Users/me/meta.dhall".to_string(),
352352
crc32: None,
353353
};
354-
assert!(file_prefix_path._process(true).is_ok());
354+
assert!(file_prefix_path.process(true).is_ok());
355355
assert_eq!(file_prefix_path.uri, "/Users/me/meta.dhall".to_string());
356356

357357
let mut unix_abs_path = MetaFile {
358358
uri: "/Users/me/meta.dhall".to_string(),
359359
crc32: None,
360360
};
361-
assert!(unix_abs_path._process(true).is_ok());
361+
assert!(unix_abs_path.process(true).is_ok());
362362
assert_eq!(unix_abs_path.uri, "/Users/me/meta.dhall".to_string());
363363

364364
let mut unix_rel_path = MetaFile {
365365
uri: "../Users/me/meta.dhall".to_string(),
366366
crc32: None,
367367
};
368-
assert!(unix_rel_path._process(true).is_ok());
368+
assert!(unix_rel_path.process(true).is_ok());
369369
assert_eq!(unix_rel_path.uri, "../Users/me/meta.dhall".to_string());
370370
}
371371

@@ -376,14 +376,14 @@ mod ut_metafile {
376376
uri: "env:USER/.cargo/env".to_string(),
377377
crc32: None,
378378
};
379-
user_path._process(false).unwrap();
379+
user_path.process(false).unwrap();
380380
assert_eq!(user_path.uri, env::var("USER").unwrap() + "/.cargo/env");
381381

382382
let mut unknown_path = MetaFile {
383383
uri: "env:BLAH_BLAH_NO_EXIST/.cargo/env".to_string(),
384384
crc32: None,
385385
};
386-
unknown_path._process(false).unwrap();
386+
unknown_path.process(false).unwrap();
387387
assert_eq!(
388388
unknown_path.uri,
389389
"env:BLAH_BLAH_NO_EXIST/.cargo/env".to_string()

anise/src/almanac/metaload/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ mod meta_test {
104104
let mut meta = MetaAlmanac::default();
105105
println!("{meta:?}");
106106

107-
let almanac = meta._process(true).unwrap();
107+
let almanac = meta.process(true).unwrap();
108108
// Shows everything in this Almanac
109109
almanac.describe(None, None, None, None, None, None);
110110

111111
// Process again to confirm that the CRC check works
112-
assert!(meta._process(true).is_ok());
112+
assert!(meta.process(true).is_ok());
113113
// Test that loading from an invalid URI reports an error
114114
assert!(almanac
115115
.load_from_metafile(

0 commit comments

Comments
 (0)