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

Function test_file_watcher_is_object_safe

atomic-agent/src/watcher/mod.rs:513–517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511
512 #[test]
513 fn test_file_watcher_is_object_safe() {
514 // This test verifies that FileWatcher can be used as a trait object.
515 // If this compiles, the trait is object-safe.
516 fn _accept_boxed(_watcher: Box<dyn FileWatcher>) {}
517 }
518
519 // create_watcher tests
520

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected