nu-lint 1.2.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_who() {
    RULE.assert_detects("^who");
}

#[test]
fn test_detect_who_with_flags() {
    RULE.assert_detects("^who -a");
}