MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / test_apply_substitution_intersection

Function test_apply_substitution_intersection

src/inheritance_tests.rs:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41#[test]
42fn test_apply_substitution_intersection() {
43 let subs = make_subs(&[("TValue", "Language")]);
44
45 assert_eq!(
46 apply_substitution("TValue&Countable", &subs),
47 "Language&Countable"
48 );
49}
50
51#[test]
52fn test_apply_substitution_generic() {

Callers

nothing calls this directly

Calls 1

make_subsFunction · 0.70

Tested by

no test coverage detected