Skip to main content

test_failure

Function test_failure 

Source
pub fn test_failure(name: &str, expect: &Value, got: &Value) -> String
Expand description

The issue text of a failed test: expected vs got, both canonical JSON (got cut at PACKAGE_TEST_LIMIT_GOT_MAX code points + …).