diff options
author | Nadrieril | 2019-03-09 15:36:39 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-09 15:36:39 +0100 |
commit | a0ac45ccc6bd0168f05626fdf1886560006fcda1 (patch) | |
tree | 7206261d31918bf55abebf5c68b58843f3950904 /dhall/tests | |
parent | 383c45439ef41136aac5e05b721c804f9e0d954f (diff) |
Use new Label type everywhere
Diffstat (limited to 'dhall/tests')
-rw-r--r-- | dhall/tests/macros.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall/tests/macros.rs b/dhall/tests/macros.rs index 5175238..10c4f5c 100644 --- a/dhall/tests/macros.rs +++ b/dhall/tests/macros.rs @@ -75,7 +75,7 @@ pub enum ExpectedResult { pub fn read_dhall_file<'i>( file_path: &str, -) -> Result<Expr<String, X, X>, DhallError> { +) -> Result<Expr<Label, X, X>, DhallError> { load_dhall_file(&PathBuf::from(file_path), true) } @@ -104,8 +104,8 @@ pub fn run_test(base_path: &str, feature: Feature, expected: ExpectedResult) { let expected = read_dhall_file(&expected_file_path).unwrap(); assert_eq_!( - normalize::<_, _, X, _>(&expr), - normalize::<_, _, X, _>(&expected) + normalize::<_, X, _>(&expr), + normalize::<_, X, _>(&expected) ); } _ => unimplemented!(), |