summary refs log tree commit diff stats
path: root/rust/hello-world/tests/hello-world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hello-world/tests/hello-world.rs')
-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());
+}