From 02481656966b0a8dfc95cf3c22bcc049660ff7d4 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Sat, 26 Dec 2020 17:48:38 +0000 Subject: Move Rust exercises in a subdirectory --- 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