tracks/rust/exercises/hello-world/tests/hello-world.rs in trackler-2.0.7.0 vs tracks/rust/exercises/hello-world/tests/hello-world.rs in trackler-2.0.8.1
- old
+ new
@@ -1,18 +1,6 @@
extern crate hello_world;
#[test]
-fn test_no_name() {
- assert_eq!("Hello, World!", hello_world::hello(None));
-}
-
-#[test]
-#[ignore]
-fn test_sample_name() {
- assert_eq!("Hello, Alice!", hello_world::hello(Some("Alice")));
-}
-
-#[test]
-#[ignore]
-fn test_other_same_name() {
- assert_eq!("Hello, Bob!", hello_world::hello(Some("Bob")));
+fn test_hello_world() {
+ assert_eq!("Hello, World!", hello_world::hello());
}