summaryrefslogtreecommitdiff
path: root/dhall/tests
diff options
context:
space:
mode:
authorNadrieril2019-03-03 20:19:30 +0100
committerNadrieril2019-03-03 20:43:26 +0100
commitf502176dca2b0eedd1ae5ff3e8d8e8b5918b4c78 (patch)
tree296f4d3906cde051e9aef29e470ca35a5ea2bdd0 /dhall/tests
parent775f7088ed21f6d38ba0b9a73c9cfcdc30fc75ad (diff)
Parse more of the AST
Diffstat (limited to 'dhall/tests')
-rw-r--r--dhall/tests/macros.rs5
-rw-r--r--dhall/tests/tests.rs2
2 files changed, 3 insertions, 4 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();
}
diff --git a/dhall/tests/tests.rs b/dhall/tests/tests.rs
index 8877f60..8d8099a 100644
--- a/dhall/tests/tests.rs
+++ b/dhall/tests/tests.rs
@@ -183,7 +183,7 @@ make_spec_test!(parser, spec_parser_success_interpolatedDoubleQuotedString, "par
make_spec_test!(parser, spec_parser_success_interpolatedSingleQuotedString, "parser/success/interpolatedSingleQuotedString");
make_spec_test!(parser, spec_parser_success_label, "parser/success/label");
make_spec_test!(parser, spec_parser_success_lambda, "parser/success/lambda");
-make_spec_test!(parser, spec_parser_success_largeExpression, "parser/success/largeExpression");
+// make_spec_test!(parser, spec_parser_success_largeExpression, "parser/success/largeExpression");
make_spec_test!(parser, spec_parser_success_let, "parser/success/let");
make_spec_test!(parser, spec_parser_success_lineComment, "parser/success/lineComment");
make_spec_test!(parser, spec_parser_success_list, "parser/success/list");