MCPcopy Create free account
hub / github.com/apache/datafusion / is_failure

Method is_failure

datafusion/core/tests/sql/unparser.rs:260–262  ·  view source on GitHub ↗

Returns true if the test case represents a failure (anything other than [`TestCaseResult::Success`]).

(&self)

Source from the content-addressed store, hash-verified

258 /// Returns true if the test case represents a failure
259 /// (anything other than [`TestCaseResult::Success`]).
260 fn is_failure(&self) -> bool {
261 !matches!(self, TestCaseResult::Success)
262 }
263
264 /// Formats a detailed error message for the test case into a string.
265 fn format_error(&self, name: &str) -> String {

Callers 1

run_roundtrip_testsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected