summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-04-05 21:07:30 +0200
committerPhilipp Korber <philippkorber@gmail.com>2018-04-05 21:07:30 +0200
commit2e805552642885b83be2c25a36c078c83d9af6ec (patch)
treea44255b8948d9916643b58aa431a5071c9e10bb5
parent405a528d0eea50a40d9dd41cfaaaa197b71ece5e (diff)
test(rte): add compile_error when the render-template-engine is missing
- so that the error messages when the render-template-engine feature is not enabled is more clear
-rw-r--r--tests/rte/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rte/main.rs b/tests/rte/main.rs
index a3bcb77..367154e 100644
--- a/tests/rte/main.rs
+++ b/tests/rte/main.rs
@@ -1,6 +1,8 @@
extern crate mail_codec_composition as compos;
extern crate mail_codec as mail;
+#[cfg(not(feature="render-template-engine"))]
+compile_error!("need feature \"render_template_engine\" to run tests");
use std::path::Path;