mirror of
https://github.com/uutils/sed.git
synced 2026-06-10 16:14:15 -07:00
21 lines
489 B
Rust
21 lines
489 B
Rust
// This file is part of the uutils sed package.
|
|
//
|
|
// For the full copyright and license information, please view the LICENSE
|
|
// file that was distributed with this source code.
|
|
// spell-checker:ignore (words) symdir somefakedir
|
|
|
|
use pretty_assertions::assert_eq;
|
|
use regex::Regex;
|
|
|
|
use crate::common::util::TestScenario;
|
|
|
|
#[test]
|
|
fn test_invalid_arg() {
|
|
new_ucmd!().arg("--definitely-invalid").fails().code_is(1);
|
|
}
|
|
|
|
#[test]
|
|
fn test_sed() {
|
|
let result = new_ucmd!().succeeds();
|
|
}
|