tests/general/strings.Exceptions.ps1
$exceptions = @{ } <# A list of entries that MAY be in the language files, without causing the tests to fail. This is commonly used in modules that generate localized messages straight from C#. Specify the full key as it is written in the language files, do not prepend the modulename, as you would have to in C# code. Example: $exceptions['LegalSurplus'] = @( 'Exception.Streams.FailedCreate' 'Exception.Streams.FailedDispose' ) #> $exceptions['LegalSurplus'] = @( ) <# A list of entries that MAY be used without needing to have text defined. This is intended for modules (re-)using strings provided by another module #> $exceptions['NoTextNeeded'] = @( 'Validate.FSPath' 'Validate.FSPath.File' 'Validate.FSPath.FileOrParent' 'Validate.FSPath.Folder' 'Validate.Path' 'Validate.Path.Container' 'Validate.Path.Leaf' 'Validate.SafeName' 'Validate.TimeSpan.Positive' 'Validate.Uri.Absolute' 'Validate.Uri.Absolute.File' 'Validate.Uri.Absolute.Https' ) $exceptions |