Made Path::name only have item name rather than full name

This commit is contained in:
Aditya Kumar 2024-12-29 07:01:54 +00:00
parent 480eec0692
commit 2c4aee92fa
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ mod secret {
}
//@ has "$.index[*][?(@.name=='get_secret')].inner.function"
//@ is "$.index[*][?(@.name=='get_secret')].inner.function.sig.output.resolved_path.name" \"secret::Secret\"
//@ is "$.index[*][?(@.name=='get_secret')].inner.function.sig.output.resolved_path.name" \"Secret\"
pub fn get_secret() -> secret::Secret {
secret::Secret
}