summary refs log tree commit diff stats
path: root/rust/hello-world/tests
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-09-07 21:16:54 +0530
committerAndinus <andinus@nand.sh>2021-09-07 21:16:54 +0530
commita6a08927f762a0d30c8e199cd2c1386ee2e08d0e (patch)
tree64f405935b716e61e7c9ecb7cc20fdf24f0b2311 /rust/hello-world/tests
parent5622b92d80a80faabc1bcf35c94a35a28ff63e05 (diff)
downloadexercism-a6a08927f762a0d30c8e199cd2c1386ee2e08d0e.tar.gz
Rust: Add Hello World & Lucian's Luscious Lasagna
Diffstat (limited to 'rust/hello-world/tests')
-rw-r--r--rust/hello-world/tests/hello-world.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/hello-world/tests/hello-world.rs b/rust/hello-world/tests/hello-world.rs
new file mode 100644
index 0000000..b29f953
--- /dev/null
+++ b/rust/hello-world/tests/hello-world.rs
@@ -0,0 +1,4 @@
+#[test]
+fn test_hello_world() {
+    assert_eq!("Hello, World!", hello_world::hello());
+}