forked from extern/nushell
@ -1,16 +1,16 @@
|
||||
pub mod camel_case;
|
||||
pub mod command;
|
||||
pub mod kebab_case;
|
||||
pub mod pascal_case;
|
||||
pub mod screaming_snake_case;
|
||||
pub mod snake_case;
|
||||
pub mod str_;
|
||||
|
||||
pub use camel_case::SubCommand as StrCamelCase;
|
||||
pub use command::Str;
|
||||
pub use kebab_case::SubCommand as StrKebabCase;
|
||||
pub use pascal_case::SubCommand as StrPascalCase;
|
||||
pub use screaming_snake_case::SubCommand as StrScreamingSnakeCase;
|
||||
pub use snake_case::SubCommand as StrSnakeCase;
|
||||
pub use str_::Str;
|
||||
|
||||
use nu_engine::CallExt;
|
||||
|
||||
|
@ -38,7 +38,7 @@ impl Command for Str {
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use crate::Str;
|
||||
|
||||
#[test]
|
||||
fn test_examples() {
|
@ -1,2 +1,2 @@
|
||||
mod command;
|
||||
pub use command::SubCommand as Trim;
|
||||
mod trim_;
|
||||
pub use trim_::SubCommand as Trim;
|
||||
|
@ -321,7 +321,8 @@ fn trim(s: &str, char_: Option<char>, closure_flags: &ClosureFlags) -> String {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::strings::str_::trim::trim_::*;
|
||||
use nu_protocol::{Span, Value};
|
||||
|
||||
#[test]
|
||||
fn test_examples() {
|
Reference in New Issue
Block a user