summaryrefslogtreecommitdiff
path: root/dhall/tests/macros.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-03 20:19:30 +0100
committerNadrieril2019-03-03 20:43:26 +0100
commitf502176dca2b0eedd1ae5ff3e8d8e8b5918b4c78 (patch)
tree296f4d3906cde051e9aef29e470ca35a5ea2bdd0 /dhall/tests/macros.rs
parent775f7088ed21f6d38ba0b9a73c9cfcdc30fc75ad (diff)
Parse more of the AST
Diffstat (limited to 'dhall/tests/macros.rs')
-rw-r--r--dhall/tests/macros.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/dhall/tests/macros.rs b/dhall/tests/macros.rs
index 911d7d8..14e5a89 100644
--- a/dhall/tests/macros.rs
+++ b/dhall/tests/macros.rs
@@ -26,8 +26,7 @@ macro_rules! run_spec_test {
};
(parser_failure, $path:expr) => {
let expr_str = include_test_str!($path);
- parser::parse_expr_pest(&expr_str).map_err(|e| println!("{}", e)).unwrap_err();
- // parser::parse_expr(&expr_str).unwrap();
+ parser::parse_expr_pest(&expr_str).unwrap_err();
};
}
@@ -42,7 +41,7 @@ macro_rules! make_spec_test {
use std::thread;
use dhall::*;
- thread::Builder::new().stack_size(32 * 1024 * 1024).spawn(move || {
+ thread::Builder::new().stack_size(16 * 1024 * 1024).spawn(move || {
run_spec_test!($type, $path);
}).unwrap().join().unwrap();
}