neutral names in docs, tests and comments (no real app or project names)

This commit is contained in:
CRTkafa 2026-10-16 06:14:02 +08:00
parent cba4660777
commit 6443a5c442
7 changed files with 28 additions and 28 deletions

View file

@ -55,12 +55,12 @@ fn updater_has_a_real_minisign_key_and_only_storebound_dev() {
#[test]
fn open_deep_link_takes_one_plain_absolute_path() {
let p = |s: &str| deep_link_open_path(&Url::parse(s).unwrap());
let abs = if cfg!(windows) { "C:%5Cgames%5CDemo App" } else { "%2FUsers%2Fyou%2Fgames%2FDemo App" };
let want = if cfg!(windows) { "C:\\games\\Demo App" } else { "/Users/you/games/Demo App" };
let abs = if cfg!(windows) { "C:%5Cgames%5Cdemo-app" } else { "%2FUsers%2Fyou%2Fgames%2Fdemo-app" };
let want = if cfg!(windows) { "C:\\games\\demo-app" } else { "/Users/you/games/demo-app" };
assert_eq!(p(&format!("storebound://open?path={abs}")), Some(PathBuf::from(want)));
assert_eq!(p(&format!("storebound://open/?path={abs}")), Some(PathBuf::from(want)));
for bad in [
"storebound://open?path=games%2FDemo App".to_string(),
"storebound://open?path=games%2Fdemo-app".to_string(),
"storebound://open?path=".to_string(),
"storebound://open".to_string(),
format!("storebound://open?path={abs}&path={abs}"),