diff options
Diffstat (limited to 'test_utils/src/lib.rs')
| -rw-r--r-- | test_utils/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs index 0f59539..ae0fa66 100644 --- a/test_utils/src/lib.rs +++ b/test_utils/src/lib.rs | |||
| @@ -1087,6 +1087,7 @@ fn sanatize(s: String) -> String { | |||
| 1087 | .collect::<String>() | 1087 | .collect::<String>() |
| 1088 | } | 1088 | } |
| 1089 | 1089 | ||
| 1090 | #[allow(deprecated)] | ||
| 1090 | pub fn rexpect_with<I, S>(args: I, timeout_ms: u64) -> Result<PtySession, rexpect::error::Error> | 1091 | pub fn rexpect_with<I, S>(args: I, timeout_ms: u64) -> Result<PtySession, rexpect::error::Error> |
| 1091 | where | 1092 | where |
| 1092 | I: IntoIterator<Item = S>, | 1093 | I: IntoIterator<Item = S>, |
| @@ -1106,6 +1107,7 @@ where | |||
| 1106 | ) | 1107 | ) |
| 1107 | } | 1108 | } |
| 1108 | 1109 | ||
| 1110 | #[allow(deprecated)] | ||
| 1109 | pub fn rexpect_with_from_dir<I, S>( | 1111 | pub fn rexpect_with_from_dir<I, S>( |
| 1110 | dir: &PathBuf, | 1112 | dir: &PathBuf, |
| 1111 | args: I, | 1113 | args: I, |
| @@ -1130,6 +1132,7 @@ where | |||
| 1130 | ) | 1132 | ) |
| 1131 | } | 1133 | } |
| 1132 | 1134 | ||
| 1135 | #[allow(deprecated)] | ||
| 1133 | pub fn remote_helper_rexpect_with_from_dir( | 1136 | pub fn remote_helper_rexpect_with_from_dir( |
| 1134 | dir: &PathBuf, | 1137 | dir: &PathBuf, |
| 1135 | nostr_remote_url: &str, | 1138 | nostr_remote_url: &str, |
| @@ -1151,6 +1154,7 @@ pub fn remote_helper_rexpect_with_from_dir( | |||
| 1151 | ) | 1154 | ) |
| 1152 | } | 1155 | } |
| 1153 | 1156 | ||
| 1157 | #[allow(deprecated)] | ||
| 1154 | pub fn git_with_remote_helper_rexpect_with_from_dir<I, S>( | 1158 | pub fn git_with_remote_helper_rexpect_with_from_dir<I, S>( |
| 1155 | dir: &PathBuf, | 1159 | dir: &PathBuf, |
| 1156 | args: I, | 1160 | args: I, |