nu-lint 1.3.0

Linter for Nu shell scripts that helpfully suggests improvements
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::RULE;

#[test]
fn test_detect_w() {
    RULE.assert_detects("^w");
}

#[test]
fn test_detect_w_with_user() {
    RULE.assert_detects("^w username");
}