aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/config_command_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/command/config_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/config_command_test.rs40
1 files changed, 27 insertions, 13 deletions
diff --git a/crates/shirabe/tests/command/config_command_test.rs b/crates/shirabe/tests/command/config_command_test.rs
index b0e1b97..63bcac7 100644
--- a/crates/shirabe/tests/command/config_command_test.rs
+++ b/crates/shirabe/tests/command/config_command_test.rs
@@ -1,17 +1,31 @@
//! ref: composer/tests/Composer/Test/Command/ConfigCommandTest.php
-macro_rules! stub {
- ($name:ident) => {
- #[test]
- #[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
- fn $name() {
- todo!()
- }
- };
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_config_updates() {
+ todo!()
}
-stub!(test_config_updates);
-stub!(test_config_reads);
-stub!(test_config_throws_for_invalid_arg_combination);
-stub!(test_config_throws_for_invalid_severity);
-stub!(test_config_throws_when_merging_array_with_object);
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_config_reads() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_config_throws_for_invalid_arg_combination() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_config_throws_for_invalid_severity() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_config_throws_when_merging_array_with_object() {
+ todo!()
+}