nushell/crates/nu-std/tests
Yuto c761f7f844
add 'from ndjson' into standard library (#10283)
close #8574
related #10276 
# Description

added below into standard library
```
def "from ndjson" []: string -> any {
    from json --objects
}
```

# User-Facing Changes


Users can use functions like "from ndjson" in standard library, and can
open ndjson files with `open` command.
```
use std formats *
# `from ndjson` is available now
open sample.ndjson
```

# Tests + Formatting

`toolkit check pr`

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`


# After Submitting

---------

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2023-09-11 14:59:07 +02:00
..
logger_tests change LOG_FORMAT to NU_LOG_FORMAT in nu-std library (#10254) 2023-09-06 10:17:14 -07:00
test_asserts.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00
test_dirs.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00
test_formats.nu add 'from ndjson' into standard library (#10283) 2023-09-11 14:59:07 +02:00
test_iter.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00
test_setup_teardown.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00
test_std.nu Fix unit tests on Android (#10224) 2023-09-05 20:17:34 +12:00
test_xml.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00