aboutsummaryrefslogtreecommitdiffstats
path: root/xtask/src/test.rs
diff options
context:
space:
mode:
authorhar7an <99636919+har7an@users.noreply.github.com>2025-03-03 09:26:58 +0000
committerGitHub <noreply@github.com>2025-03-03 09:26:58 +0000
commit736d43b138fea4e7bec6dfb6193e1370594886ff (patch)
treed07ac56a57a7e6921faa916131b9f8e0787434f0 /xtask/src/test.rs
parentfix(panes): various fixes for rendering stacked panes without pane frames (#4... (diff)
downloadsl0ppij-736d43b138fea4e7bec6dfb6193e1370594886ff.tar.gz
sl0ppij-736d43b138fea4e7bec6dfb6193e1370594886ff.tar.xz
sl0ppij-736d43b138fea4e7bec6dfb6193e1370594886ff.zip
fix(toolchain): Unbreak client startup
This reverts commit 9f900a7325304a06d9e0913a8e661d7bbc86ad04.
Diffstat (limited to 'xtask/src/test.rs')
-rw-r--r--xtask/src/test.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/xtask/src/test.rs b/xtask/src/test.rs
index 1c725f38..9bcfb37a 100644
--- a/xtask/src/test.rs
+++ b/xtask/src/test.rs
@@ -20,15 +20,15 @@ pub fn test(sh: &Shell, flags: flags::Test) -> anyhow::Result<()> {
)
.context(err_context)?;
- for WorkspaceMember { crate_name, .. } in crate::workspace_members().iter() {
+ for WorkspaceMember { crate_name, .. } in crate::WORKSPACE_MEMBERS.iter() {
// the workspace root only contains e2e tests, skip it
- if crate_name == &"." {
+ if *crate_name == "." {
continue;
}
let _pd = sh.push_dir(Path::new(crate_name));
// Tell the user where we are now
- println!();
+ println!("");
let msg = format!(">> Testing '{}'", crate_name);
crate::status(&msg);
println!("{}", msg);
@@ -60,9 +60,9 @@ pub fn host_target_triple(sh: &Shell) -> anyhow::Result<String> {
return None;
}
if let Some((_, triple)) = line.split_once(": ") {
- Some(triple.to_string())
+ return Some(triple.to_string());
} else {
- None
+ return None;
}
})
.collect::<Vec<String>>();