nushell/crates/nu-std/tests
Kamil ca275f59da
Added assert not command (assertion that the value/expression is false) (#9235)
# Description
A new command to simplify assertions for `false`.

The name is just a draft, though I could not come up with a better name.
I have rejected `assert false`, because I would have to rename `assert`
to `assert true` which would break the compatibility and worsen the
shell experience of the good old `assert`.

Another idea I have rejected was something like `assert_false` to keep
it consistent with the naming convention of our stdlib.

I am open to suggestions :)

# User-Facing Changes
Just a new command

# Tests + Formatting
- [x] Done

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2023-05-19 11:33:19 +02:00
..
test_asserts.nu Added assert not command (assertion that the value/expression is false) (#9235) 2023-05-19 11:33:19 +02:00
test_dirs.nu stdlib test runner: implement setup and teardown commands to unit tests (#8776) 2023-04-10 22:42:11 +02:00
test_iter.nu add more commands to std iter (#9129) 2023-05-10 19:18:42 +02:00
test_logger.nu Added assert not command (assertion that the value/expression is false) (#9235) 2023-05-19 11:33:19 +02:00
test_setup_teardown.nu stdlib test runner: implement setup and teardown commands to unit tests (#8776) 2023-04-10 22:42:11 +02:00
test_std.nu fix: 🐛 handle windows Path casing (#9210) 2023-05-17 18:55:46 -05:00
test_xml.nu stdlib test runner: implement setup and teardown commands to unit tests (#8776) 2023-04-10 22:42:11 +02:00