From 69a68b10a12af3f85842eeb7586e62ff780f2f5f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 Jun 2020 19:29:59 +0200 Subject: Add rust track --- rust/hello-world/tests/hello-world.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 rust/hello-world/tests/hello-world.rs (limited to 'rust/hello-world/tests/hello-world.rs') 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()); +} -- cgit v1.2.3