nushell/crates/nu-command/tests/commands/math
Renan Ribeiro 54d73748e4
Remove file I/O from tests that don't need it (#11182)
# Description

This PR implements modifications to command tests that write unnecessary
json and csv to disk then load it with open, by using nuon literals
instead.

- Fixes #7189



# User-Facing Changes
None

# Tests + Formatting
This only affects existing tests, which still pass.
2023-11-29 23:21:34 +01:00
..
avg.rs Clean up tests containing unnecessary cwd: tokens (#9692) 2023-07-17 18:43:51 +02:00
median.rs Clean up tests containing unnecessary cwd: tokens (#9692) 2023-07-17 18:43:51 +02:00
mod.rs Update internal use of decimal to float (#10333) 2023-09-13 23:53:55 +02:00
round.rs Add long options for generators and math (#10752) 2023-10-19 18:17:42 +02:00
sqrt.rs Clean up tests containing unnecessary cwd: tokens (#9692) 2023-07-17 18:43:51 +02:00
sum.rs Remove file I/O from tests that don't need it (#11182) 2023-11-29 23:21:34 +01:00