about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs
index a7063c76f28..bd6613e1488 100644
--- a/src/test/mod.rs
+++ b/src/test/mod.rs
@@ -201,6 +201,13 @@ fn checkstyle_test() {
 }
 
 #[test]
+fn json_test() {
+    let filename = "tests/writemode/source/json.rs";
+    let expected_filename = "tests/writemode/target/output.json";
+    assert_output(Path::new(filename), Path::new(expected_filename));
+}
+
+#[test]
 fn modified_test() {
     use std::io::BufRead;