diff options
| author | Federico I <git@federicoigne.com> | 2020-03-14 19:21:02 +0000 |
|---|---|---|
| committer | Federico Igne <git@federicoigne.com> | 2021-11-03 18:49:20 +0000 |
| commit | da0fec405edd592d9ae7c658cb80fdc652671c37 (patch) | |
| tree | 00ce4204858d34f932e0cd81bebb33e4fbd421ee /hello-world/tests/hello-world.rs | |
| parent | 629472a32c01f3972981f913b3585abcf8c4eb63 (diff) | |
| download | exercism-da0fec405edd592d9ae7c658cb80fdc652671c37.tar.gz exercism-da0fec405edd592d9ae7c658cb80fdc652671c37.zip | |
[rust] Hello World
Diffstat (limited to 'hello-world/tests/hello-world.rs')
| -rw-r--r-- | hello-world/tests/hello-world.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hello-world/tests/hello-world.rs b/hello-world/tests/hello-world.rs new file mode 100644 index 0000000..c0d9536 --- /dev/null +++ b/hello-world/tests/hello-world.rs | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | use hello_world; | ||
| 2 | |||
| 3 | #[test] | ||
| 4 | fn test_hello_world() { | ||
| 5 | assert_eq!("Hello, World!", hello_world::hello()); | ||
| 6 | } | ||
