Test/Pester.3.3.8/tools/Snippets/ShouldNotContain.snippets.ps1xml
<?xml version='1.0' encoding='utf-8' ?>
<Snippets xmlns='http://schemas.microsoft.com/PowerShell/Snippets'> <Snippet Version='1.0.0'> <Header> <Title>Should Not Contain</Title> <Description>Add Pester Should Not Contain assertion</Description> <Shortcut>snc</Shortcut> <Keywords>Pipeline,ScriptBlock,Editor,Console</Keywords> <Author>nohwnd</Author> <SnippetTypes> <SnippetType>Expansion</SnippetType> </SnippetTypes> </Header> <Code> <Script Language='PowerShell' CaretOffset='21'> <![CDATA[| Should Not Contain ]]> </Script> </Code> </Snippet> </Snippets> |