MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_output_result_ok

Function test_output_result_ok

atomic-core/src/output/repo/error.rs:561–564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559 #[test]
560 #[allow(clippy::unnecessary_literal_unwrap)]
561 fn test_output_result_ok() {
562 let result: OutputResult<i32> = Ok(42);
563 assert_eq!(result.unwrap(), 42);
564 }
565
566 #[test]
567 fn test_output_result_err() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected