Skip to content

Vagab/refute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refute

Allows to use refute!(smth) macro instead of assert!(!smth)

Example

#[test]
fn it_works() {
    refute!(false);
}

#[test]
fn default_user_is_not_an_admin() {
    refute!(User::default().admin)
}

About

why not

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages