Skip to content

carllerche/assertive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assertive

A collection of assertions.

Usage

To use assertive, first add this to your Cargo.toml:

[dependencies]
assertive = "0.1.0"

Next, add this to your crate:

use assertive::*;

fn main() {
    let value = assert_ok!(Ok::<_, ()>("hello"));
    assert_eq!(value, "hello");
}

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in assertive by you, shall be licensed as MIT, without any additional terms or conditions.

About

Collections of Rust assertions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages