polypty 0.1.0

Agent-aware terminal multiplexer with sidebar tabs and nested panes
Documentation
1
2
3
4
5
6
7
8
9
10
use super::super::shorten_path;

#[test]
fn home_is_shortened() {
    let Some(home) = std::env::var_os("HOME") else {
        return;
    };
    let path = format!("{}/projects/polypty", home.to_string_lossy());
    assert!(shorten_path(&path).starts_with("~/"));
}