summaryrefslogtreecommitdiffstats
path: root/tests/file_hjson.rs
diff options
context:
space:
mode:
authorRyan Leckey <ryan@launchbadge.com>2018-09-25 23:58:34 -0700
committerRyan Leckey <ryan@launchbadge.com>2018-09-25 23:58:34 -0700
commit1612293b617f5459d2313c776d5117401c6aa8c2 (patch)
treeb749a835b8f3d380b86adc26a2047046bdda645d /tests/file_hjson.rs
parent2e8f12f0e76818a650749a6311f5a79a70be49b0 (diff)
Fix #75; tests run with --no-default-features
Diffstat (limited to 'tests/file_hjson.rs')
-rw-r--r--tests/file_hjson.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/file_hjson.rs b/tests/file_hjson.rs
index 40c25cb..9c63ad6 100644
--- a/tests/file_hjson.rs
+++ b/tests/file_hjson.rs
@@ -1,3 +1,5 @@
+#![cfg(feature = "hjson")]
+
extern crate config;
extern crate float_cmp;
extern crate serde;