summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2020-03-21 21:56:09 +0000
committerNadrieril2020-03-31 21:45:29 +0100
commit196491a37a9ab2869ab6d76e1417a85a9e033dd4 (patch)
tree1c4477219d714ddd725f335ed037ac882467bb68 /dhall
parentb0ee39b006ad2ca99bd3dddf06ab0e0dcc966d2f (diff)
Ensure version numbers are kept in sync
Diffstat (limited to '')
-rw-r--r--dhall/Cargo.toml1
-rw-r--r--dhall/tests/version_numbers.rs4
-rw-r--r--dhall_proc_macros/Cargo.toml3
-rw-r--r--dhall_proc_macros/tests/version_numbers.rs4
4 files changed, 12 insertions, 0 deletions
diff --git a/dhall/Cargo.toml b/dhall/Cargo.toml
index 02ec1e7..bb60d9e 100644
--- a/dhall/Cargo.toml
+++ b/dhall/Cargo.toml
@@ -26,6 +26,7 @@ url = "2.1"
[dev-dependencies]
pretty_assertions = "0.6.1"
+version-sync = "0.8"
[build-dependencies]
walkdir = "2"
diff --git a/dhall/tests/version_numbers.rs b/dhall/tests/version_numbers.rs
new file mode 100644
index 0000000..9f1d04a
--- /dev/null
+++ b/dhall/tests/version_numbers.rs
@@ -0,0 +1,4 @@
+#[test]
+fn test_html_root_url() {
+ version_sync::assert_html_root_url_updated!("src/lib.rs");
+}
diff --git a/dhall_proc_macros/Cargo.toml b/dhall_proc_macros/Cargo.toml
index 6de2850..48b55e8 100644
--- a/dhall_proc_macros/Cargo.toml
+++ b/dhall_proc_macros/Cargo.toml
@@ -17,3 +17,6 @@ itertools = "0.9.0"
quote = "1.0"
proc-macro2 = "1.0"
syn = "1.0"
+
+[dev-dependencies]
+version-sync = "0.8"
diff --git a/dhall_proc_macros/tests/version_numbers.rs b/dhall_proc_macros/tests/version_numbers.rs
new file mode 100644
index 0000000..9f1d04a
--- /dev/null
+++ b/dhall_proc_macros/tests/version_numbers.rs
@@ -0,0 +1,4 @@
+#[test]
+fn test_html_root_url() {
+ version_sync::assert_html_root_url_updated!("src/lib.rs");
+}