lessify 0.6.0

Output text through a pager.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use lessify::PAGER;
use std::env;

// `PAGER` is initialized once per execution, so we need another bin to
// test the un-mocked default value (not used in other tests).
#[test]
fn default_pager() {
    unsafe {
        env::remove_var("PAGER");
    }

    assert_eq!(*PAGER, "less");
}