()
| 29 | |
| 30 | #[test] |
| 31 | fn test_apply_substitution_union() { |
| 32 | let subs = make_subs(&[("TValue", "Language")]); |
| 33 | |
| 34 | assert_eq!(apply_substitution("TValue|null", &subs), "Language|null"); |
| 35 | assert_eq!( |
| 36 | apply_substitution("TValue|string", &subs), |
| 37 | "Language|string" |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | #[test] |
| 42 | fn test_apply_substitution_intersection() { |
nothing calls this directly
no test coverage detected