diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-11-01 12:43:14 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-11-01 13:15:19 +0100 |
commit | 32f38945f03a47fbfa9f9c3b9d69b3f364869315 (patch) | |
tree | 1ba1d66f61858c5d10004c7165c2cc25a9c4e14b /bin | |
parent | e39bd7fc72ddf030d11206129c7e1c294a09a114 (diff) |
Fix tests: Do not pass "internal", subcommand does not exist anymore
Diffstat (limited to 'bin')
-rw-r--r-- | bin/core/imag-link/src/main.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bin/core/imag-link/src/main.rs b/bin/core/imag-link/src/main.rs index e0b55149..ab4a345e 100644 --- a/bin/core/imag-link/src/main.rs +++ b/bin/core/imag-link/src/main.rs @@ -397,7 +397,7 @@ mod tests { #[test] fn test_link_modificates() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2"]) + let rt = generate_test_runtime(vec!["test1", "test2"]) .unwrap(); debug!("Runtime created"); @@ -421,12 +421,14 @@ mod tests { assert_ne!(*test_links1, links_toml_value(vec![])); assert_ne!(*test_links2, links_toml_value(vec![])); + + debug!("Test finished") } #[test] fn test_linking_links() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2"]) + let rt = generate_test_runtime(vec!["test1", "test2"]) .unwrap(); debug!("Runtime created"); @@ -455,7 +457,7 @@ mod tests { #[test] fn test_multilinking() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2"]) + let rt = generate_test_runtime(vec!["test1", "test2"]) .unwrap(); debug!("Runtime created"); @@ -485,7 +487,7 @@ mod tests { #[test] fn test_linking_more_than_two() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2", "test3"]) + let rt = generate_test_runtime(vec!["test1", "test2", "test3"]) .unwrap(); debug!("Runtime created"); @@ -522,7 +524,7 @@ mod tests { #[test] fn test_linking_links_unlinking_removes_links() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2"]) + let rt = generate_test_runtime(vec!["test1", "test2"]) .unwrap(); debug!("Runtime created"); @@ -558,7 +560,7 @@ mod tests { #[test] fn test_linking_and_unlinking_more_than_two() { setup_logging(); - let rt = generate_test_runtime(vec!["internal", "test1", "test2", "test3"]) + let rt = generate_test_runtime(vec!["test1", "test2", "test3"]) .unwrap(); debug!("Runtime created"); |