< Back

Assert-CEqual

Sun Jan 12, 2020 5:30 pm

NAME Assert-CEqual



SYNOPSIS

OBSOLETE. Use `Assert-Equal -CaseSenstive` instead.





SYNTAX

Assert-CEqual [-Expected] <String> [-Actual] <String> [-Message] <String> [<CommonParameters>]





DESCRIPTION

OBSOLETE. Use `Assert-Equal -CaseSenstive` instead.





PARAMETERS

-Expected <String>

The expected string.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Actual <String>

The actual string.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Message <String>

A message to show when the assertion fails.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Assert-Equal 'foo' 'FOO' -CaseSensitive



Demonstrates how to use `Assert-Equal` instead of `Assert-CEqual`.











RELATED LINKS