MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_share_print_no_acls

Function test_share_print_no_acls

client/src/cmds.rs:892–899  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

890
891 #[tokio::test]
892 async fn test_share_print_no_acls() {
893 let mut t = ClientTester::default();
894 t.get_storage().borrow_mut().put("MEMORY:/FOO", b"").await.unwrap();
895 t.run(r#"SHARE "MEMORY:/FOO""#)
896 .expect_prints(["", " No ACLs on MEMORY:/FOO", ""])
897 .expect_file("MEMORY:/FOO", "")
898 .check();
899 }
900
901 #[tokio::test]
902 async fn test_share_print_some_acls() {

Callers

nothing calls this directly

Calls 6

putMethod · 0.45
get_storageMethod · 0.45
checkMethod · 0.45
expect_fileMethod · 0.45
expect_printsMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected