nu-lint 1.1.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_uptime() {
    RULE.assert_detects("^uptime");
}

#[test]
fn test_detect_uptime_with_flags() {
    RULE.assert_detects("^uptime -p");
}