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

Function test_mount_mount

std/src/storage/cmds.rs:931–939  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

929
930 #[test]
931 fn test_mount_mount() {
932 let mut t = Tester::default();
933 t.run(r#"MOUNT "memory://" AS "abc""#).check();
934
935 let mut exp_info = BTreeMap::default();
936 exp_info.insert("MEMORY", "memory://");
937 exp_info.insert("ABC", "memory://");
938 assert_eq!(exp_info, t.get_storage().borrow().mounted());
939 }
940
941 #[test]
942 fn test_mount_errors() {

Callers

nothing calls this directly

Calls 3

checkMethod · 0.45
runMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected