rust - hello-world
This commit is contained in:
6
rust/hello-world/tests/hello-world.rs
Normal file
6
rust/hello-world/tests/hello-world.rs
Normal file
@ -0,0 +1,6 @@
|
||||
extern crate hello_world;
|
||||
|
||||
#[test]
|
||||
fn test_hello_world() {
|
||||
assert_eq!("Hello, World!", hello_world::hello());
|
||||
}
|
Reference in New Issue
Block a user