mirror of
https://github.com/danbulant/nushell
synced 2026-05-19 20:38:40 +00:00
`left =~ right` return true if left contains right, using Rust's `String::contains`. `!~` is the negated version. A new `apply_operator` function is added which decouples evaluation from `Value::compare`. This returns a `Value` and opens the door to implementing `+` for example, though it wouldn't be useful immediately. The `operator!` macro had to be changed slightly as it would choke on `~` in arguments. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| command_cd_tests.rs | ||
| command_config_test.rs | ||
| command_cp_tests.rs | ||
| command_enter_test.rs | ||
| command_get_tests.rs | ||
| command_ls_tests.rs | ||
| command_mkdir_tests.rs | ||
| command_mv_tests.rs | ||
| command_open_tests.rs | ||
| command_rm_tests.rs | ||
| commands_test.rs | ||
| external_tests.rs | ||
| filter_inc_tests.rs | ||
| filter_str_tests.rs | ||
| filter_where_tests.rs | ||
| filters_test.rs | ||
| tests.rs | ||