Extract the short (unqualified) class name from a fully-qualified name. For example, `"DMS\\PHPUnitExtensions\\ArraySubset\\ArraySubsetAsserts"` yields `"ArraySubsetAsserts"`.
(fqcn: &str)
| 1732 | /// For example, `"DMS\\PHPUnitExtensions\\ArraySubset\\ArraySubsetAsserts"` |
| 1733 | /// yields `"ArraySubsetAsserts"`. |
| 1734 | fn fqcn_short_name(fqcn: &str) -> &str { |
| 1735 | fqcn.rsplit('\\').next().unwrap_or(fqcn) |
| 1736 | } |
| 1737 | |
| 1738 | /// Extract string values from a JSON value that is either a single |
| 1739 | /// string or an array of strings. |
no test coverage detected