comparable_test 0.5.4

A library for comparing data structures in Rust, oriented toward testing
use comparable::{assert_changes, Changed::*, StringChange};

#[test]
fn test_string() {
	assert_changes!(&("hello".to_string()), &("hello".to_string()), Unchanged);
	assert_changes!(
		&("hello".to_string()),
		&("goodbye".to_string()),
		Changed(StringChange("hello".to_string(), "goodbye".to_string())),
	);
}