()
| 50 | |
| 51 | #[test] |
| 52 | fn test_apply_substitution_generic() { |
| 53 | let subs = make_subs(&[("TKey", "int"), ("TValue", "Language")]); |
| 54 | |
| 55 | assert_eq!( |
| 56 | apply_substitution("array<TKey, TValue>", &subs), |
| 57 | "array<int, Language>" |
| 58 | ); |
| 59 | } |
| 60 | |
| 61 | #[test] |
| 62 | fn test_apply_substitution_nested_generic() { |
nothing calls this directly
no test coverage detected