nushell/crates/nu-command/src/strings
Anton 7221eb7f39
Fix typos and use more idiomatic assertions (#7755)
I have changed `assert!(a == b)` calls to `assert_eq!(a, b)`, which give
better error messages. Similarly for `assert!(a != b)` and
`assert_ne!(a, b)`. Basically all instances were comparing primitives
(string slices or integers), so there is no loss of generality from
special-case macros,

I have also fixed a number of typos in comments, variable names, and a
few user-facing messages.
2023-01-15 15:03:32 +13:00
..
encode_decode update base64 implementation to newer crate (#7739) 2023-01-13 07:16:14 -06:00
format Make get hole errors and cell path hole errors identical (improvement on #7002) (#7647) 2023-01-02 14:45:43 -08:00
split Add extra_usage messages for subcommand-only commands (#7594) 2022-12-24 07:16:29 -06:00
str_ Improve wording of str replace help messages (#7708) 2023-01-10 20:46:50 +01:00
char_.rs Standardise the use of ShellError::UnsupportedInput and ShellError::TypeMismatch and add spans to every instance of the former (#7217) 2022-12-23 01:48:53 -05:00
detect_columns.rs Remove unnecessary echo uses from examples (#7500) 2022-12-16 11:51:00 -05:00
mod.rs Remove build-string command (#7144) 2022-11-16 09:37:52 -08:00
parse.rs Remove unnecessary echo uses from examples (#7500) 2022-12-16 11:51:00 -05:00
size.rs Fix typos and use more idiomatic assertions (#7755) 2023-01-15 15:03:32 +13:00