Skip to content

Commit d7c381e

Browse files
Add a simple expect invocation to the test suite
I'm modifying this to check that `UPDATE_EXPECT` works manually.
1 parent f09be07 commit d7c381e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,11 @@ fn format_chunks(chunks: Vec<dissimilar::Chunk>) -> String {
724724
mod tests {
725725
use super::*;
726726

727+
#[test]
728+
fn test_trivial_assert() {
729+
expect!["5"].assert_eq("5");
730+
}
731+
727732
#[test]
728733
fn test_format_patch() {
729734
let patch = format_patch(None, "hello\nworld\n");

0 commit comments

Comments
 (0)