summaryrefslogtreecommitdiff
path: root/rust/hello-world/tests
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2020-06-02 19:29:59 +0200
committerDimitri Sokolyuk <demon@dim13.org>2020-06-02 19:29:59 +0200
commit69a68b10a12af3f85842eeb7586e62ff780f2f5f (patch)
tree7e8eb4fdcf51a32f41c20ecb33dfe8271bf0340c /rust/hello-world/tests
parent31a1eaa9c0d694b9913a637dd4e5472c22152886 (diff)
Add rust track
Diffstat (limited to 'rust/hello-world/tests')
-rw-r--r--rust/hello-world/tests/hello-world.rs6
1 files changed, 6 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..c0d9536
--- /dev/null
+++ b/rust/hello-world/tests/hello-world.rs
@@ -0,0 +1,6 @@
+use hello_world;
+
+#[test]
+fn test_hello_world() {
+ assert_eq!("Hello, World!", hello_world::hello());
+}