forked from extern/nushell
add two tests to make sure clip
will work with all the OS in CI
This commit is contained in:
parent
1678120a72
commit
507f4bda44
@ -22,3 +22,15 @@ export def test_path_add [] {
|
|||||||
assert equal $env.PATH ["fooooo", "foo", "bar", "baz"]
|
assert equal $env.PATH ["fooooo", "foo", "bar", "baz"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export def test_clip_simple_string [] {
|
||||||
|
use std.nu clip
|
||||||
|
|
||||||
|
"foo" | clip
|
||||||
|
}
|
||||||
|
|
||||||
|
export def test_clip_structured_data [] {
|
||||||
|
use std.nu clip
|
||||||
|
|
||||||
|
open Cargo.toml | get package | clip
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user