1
0
mirror of https://github.com/nushell/nushell.git synced 2025-05-27 22:20:50 +02:00
nushell/crates/nu-command/tests/commands
Andrej Kolčin 3f332bef35
Fix encode/decode todo's ()
Mistakes have been made. I forgot about a bunch of `todo`s in the helper
functions. So, this PR replaces them with proper errors. It also adds
tests for parse-time evaluation, because one `todo` I missed was in a
`run_const` function.
2024-08-24 09:02:02 -05:00
..
assignment
base Fix encode/decode todo's () 2024-08-24 09:02:02 -05:00
bytes Add string/binary type color to ByteStream () 2024-05-20 00:35:32 +00:00
conversions Change behavior of into record on lists to be more useful () 2024-08-22 11:38:43 +02:00
database Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
date fix format date based on users locale () 2024-02-20 11:08:49 -06:00
debug Force timeit to not capture stdout () 2024-04-10 13:31:29 +00:00
hash_ Bump base64 to 0.22.1 () 2024-05-04 15:56:16 +03:00
math Make the math commands const () 2024-08-07 22:20:33 +02:00
move_ Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
network Fallback to extension-based content type detection when parsing Content-Type header fails () 2024-08-14 09:47:01 -05:00
path Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
platform refactor: move du from platform to filesystem () 2024-02-15 06:55:21 +08:00
query
random Clippy fixes from stable and nightly () 2024-07-31 20:37:40 +02:00
skip Add string/binary type color to ByteStream () 2024-05-20 00:35:32 +00:00
str_ Improves commands that support range input () 2024-06-18 07:19:13 -05:00
take Add string/binary type color to ByteStream () 2024-05-20 00:35:32 +00:00
url Allow 'url join' to print username without password () 2024-01-31 16:52:23 -06:00
alias.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
all.rs Rewrite run_external.rs () 2024-05-23 02:05:27 +00:00
any.rs Rewrite run_external.rs () 2024-05-23 02:05:27 +00:00
append.rs
break_.rs don't allow break/continue in each and items command () 2024-07-19 00:21:02 -07:00
cal.rs Suppress column index for default cal output () 2024-06-22 07:41:29 -05:00
cd.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
chunks.rs Deprecate group in favor of chunks () 2024-07-16 03:49:00 +00:00
compact.rs
complete.rs Make assignment and const consistent with let/mut () 2024-07-30 18:55:22 -05:00
config_env_default.rs
config_nu_default.rs
continue_.rs
debug_info.rs
def.rs Remove --flag: bool support () 2024-01-25 14:16:49 +08:00
default.rs Remove default list-diving behaviour () 2024-07-16 03:54:24 +00:00
detect_columns.rs Improves commands that support range input () 2024-06-18 07:19:13 -05:00
do_.rs allow define it as a variable inside closure () 2024-05-17 00:03:13 +00:00
drop.rs
du.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
each.rs don't allow break/continue in each and items command () 2024-07-19 00:21:02 -07:00
echo.rs
empty.rs
error_make.rs Change the error style during tests to plain () 2024-06-18 21:37:24 -07:00
every.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
exec.rs Isolate tests from user config () 2024-04-10 06:27:46 +08:00
export_def.rs
fill.rs
filter.rs Fix return in filter closure eval () 2024-03-26 17:50:36 +01:00
find.rs Fix find command output bug in the case of taking ByteStream input. () 2024-06-27 09:46:10 -05:00
first.rs Add string/binary type color to ByteStream () 2024-05-20 00:35:32 +00:00
flatten.rs
for_.rs
format.rs Span ID Refactor (Step 2): Use SpanId of expressions in some places () 2024-06-09 12:15:53 +03:00
generate.rs generate: switch the position of <initial> and <closure>, so the closure can have default parameters () 2024-07-19 00:22:28 -07:00
get.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
glob.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
griddle.rs make grid throw an error when not enough columns () 2024-04-26 06:33:00 -05:00
group_by.rs Make group-by return errors in closure () 2024-04-16 21:52:21 +02:00
headers.rs
help.rs Change the usage misnomer to "description" () 2024-08-22 12:02:08 +02:00
histogram.rs
ignore.rs Change the ignore command to use drain() instead of collecting a value () 2024-03-08 02:18:26 -05:00
insert.rs Remove lazy records () 2024-05-03 08:36:10 +08:00
inspect.rs
interleave.rs Isolate tests from user config () 2024-04-10 06:27:46 +08:00
into_datetime.rs
into_filesize.rs fix wrong casting with into filesize () 2024-06-10 10:43:17 +08:00
into_int.rs add --signed flag for binary into int conversions () 2024-02-27 15:05:26 +00:00
join.rs
last.rs Add string/binary type color to ByteStream () 2024-05-20 00:35:32 +00:00
length.rs Suppress column index for default cal output () 2024-06-22 07:41:29 -05:00
let_.rs Make assignment and const consistent with let/mut () 2024-07-30 18:55:22 -05:00
lines.rs
loop_.rs
ls.rs make ls -lf outputs full path in symbolic target () 2024-08-13 06:34:10 -05:00
match_.rs Allow comments in match blocks () 2024-02-08 07:22:42 +08:00
merge.rs
mktemp.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
mod.rs encode/decode for multiple alphabets () 2024-08-23 11:18:51 -05:00
mut_.rs add raw-string literal support () 2024-05-02 09:36:37 -04:00
nu_check.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
open.rs Attempt to guess the content type of a file when opening with --raw () 2024-08-06 11:36:24 +02:00
par_each.rs
parse.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
prepend.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
print.rs Add --raw switch to print for binary data () 2024-08-12 17:29:25 +08:00
range.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
redirection.rs Overhaul $in expressions () 2024-07-17 16:02:42 -05:00
reduce.rs Improve with-env robustness () 2024-04-16 19:08:58 +08:00
reject.rs Remove list of cell path support for select and reject () 2024-02-15 07:49:48 -06:00
rename.rs
return_.rs Isolate tests from user config () 2024-04-10 06:27:46 +08:00
reverse.rs
rm.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
roll.rs
rotate.rs Fix panic in rotate; Add safe record creation function () 2024-02-03 13:23:16 +02:00
run_external.rs Switch from dirs_next 2.0 to dirs 5.0 () 2024-07-16 07:16:26 -05:00
save.rs save: print to stderr for bytestream () 2024-07-31 18:19:35 +02:00
select.rs Fix select cell path renaming behavior () 2024-07-13 16:54:34 +02:00
semicolon.rs
seq_char.rs
seq_date.rs Fix panic in seq date () 2024-02-17 10:51:20 +02:00
seq.rs
sort_by.rs to json -r not removing whitespaces fix () 2024-03-20 22:14:31 +01:00
sort.rs
source_env.rs Path migration part 2: nu-test-support () 2024-07-12 02:43:10 +00:00
split_by.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
split_column.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
split_row.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00
table.rs Make assignment and const consistent with let/mut () 2024-07-30 18:55:22 -05:00
tee.rs Add tee command for operating on copies of streams () 2024-02-28 17:08:31 -06:00
terminal.rs
to_text.rs
touch.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
transpose.rs
try_.rs Make exit code available in catch block () 2024-04-26 16:35:08 +00:00
ucp.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
ulimit.rs FreeBSD compatibility patches () 2024-02-17 20:04:59 +01:00
umkdir.rs Path migration part 4: various tests () 2024-08-03 10:09:13 +02:00
uname.rs Initial implementation for uutils uname () 2024-03-25 16:51:50 -05:00
uniq_by.rs
uniq.rs
update.rs Remove lazy records () 2024-05-03 08:36:10 +08:00
upsert.rs Remove lazy records () 2024-05-03 08:36:10 +08:00
use_.rs Path migration part 2: nu-test-support () 2024-07-12 02:43:10 +00:00
where_.rs Fix ignored clippy lints () 2024-03-11 19:46:04 +01:00
which.rs
while_.rs
window.rs Refactor window () 2024-07-19 04:16:09 +00:00
with_env.rs Improve with-env robustness () 2024-04-16 19:08:58 +08:00
wrap.rs
zip.rs Avoid taking unnecessary ownership of intermediates () 2024-05-04 00:53:15 +00:00