Fix imag-link tests for new header location
This commit is contained in:
parent
8aa5c2d82d
commit
dc263de947
1 changed files with 2 additions and 2 deletions
|
@ -376,10 +376,10 @@ mod tests {
|
|||
}
|
||||
|
||||
fn get_entry_links<'a>(entry: &'a FileLockEntry<'a>) -> TomlQueryResult<&'a Value> {
|
||||
match entry.get_header().read(&"imag.links".to_owned()) {
|
||||
match entry.get_header().read(&"links.internal".to_owned()) {
|
||||
Err(e) => Err(e),
|
||||
Ok(Some(v)) => Ok(v),
|
||||
Ok(None) => panic!("Didn't find 'imag.links' in {:?}", entry),
|
||||
Ok(None) => panic!("Didn't find 'links' in {:?}", entry),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue