From dc263de9470ddbd7cf7657754d84bc5fcabd3b48 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 8 Sep 2017 16:18:49 +0200 Subject: [PATCH] Fix imag-link tests for new header location --- bin/core/imag-link/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/core/imag-link/src/main.rs b/bin/core/imag-link/src/main.rs index 72b9498c..4c30f6cb 100644 --- a/bin/core/imag-link/src/main.rs +++ b/bin/core/imag-link/src/main.rs @@ -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), } }