-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06c3b26
commit 41bf810
Showing
750 changed files
with
13,638 additions
and
12,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ compile-time tests and run-time reliability. | |
|
||
## Introduction | ||
|
||
The Rust programming language provides a few built-in assert macros to test code: | ||
The Rust programming language provides assert macros to test code: | ||
|
||
* `assert!()` | ||
* `assert_eq!(a, b)` | ||
* `assert_ne!(a, b)` | ||
* [`assert!()`](https://doc.rust-lang.org/std/macro.assert.html) | ||
* [`assert_eq!(a, b)`](https://doc.rust-lang.org/std/macro.assert_eq.html) | ||
* [`assert_ne!(a, b)`]((https://doc.rust-lang.org/std/macro.assert_ne.html) | ||
|
||
The assertables crate provides many more, so you can write smarter tests. | ||
|
||
|
@@ -184,6 +184,6 @@ Examples: | |
* Package: assertables-rust-crate | ||
* Version: 8.6.0 | ||
* Created: 2021-03-30T15:47:49Z | ||
* Updated: 2024-09-15T17:11:03Z | ||
* Updated: 2024-09-18T03:02:31Z | ||
* License: MIT or Apache-2.0 or GPL-2.0 or GPL-3.0 or contact us for more | ||
* Contact: Joel Parker Henderson ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.