fixed indentation

This commit is contained in:
Yanbing Wang committed 2016-09-02 13:28:20 -07:00
1 parent 11e279d688
commit c5b90ca656
3 files changed
-10

No files matched your search

@@ -191,7 +191,6 @@ Describe 'data statement parsing' -Tags "CI" {
#
# try/catch/finally statement
#
Describe 'try/catch/finally statement parsing' -Tags "CI" {
ShouldBeParseError 'try' MissingTryStatementBlock 3
ShouldBeParseError 'try {}' MissingCatchOrFinally 6
@@ -216,7 +215,6 @@ Describe 'try/catch/finally statement parsing' -Tags "CI" {
Test-ErrorStmt 'try {1} catch [int],' 'try {1} catch [int],' '{1}' '1' '1' '1' '[int]'
}
Describe 'switch statement parsing' -Tags "CI" {
ShouldBeParseError 'switch' PipelineValueRequired 6
ShouldBeParseError 'switch -abc' InvalidSwitchFlag,PipelineValueRequired 7,11
@@ -277,7 +275,6 @@ Describe 'splatting parsing' -Tags "CI" {
ShouldBeParseError 'function foo (@a) {}' SplattingNotPermitted 14
}
Describe 'Pipes parsing' -Tags "CI" {
ShouldBeParseError 'gps|' EmptyPipeElement 4
ShouldBeParseError '1|1' ExpressionsMustBeFirstInPipeline 2
@@ -291,15 +288,11 @@ Describe 'commands parsing' -Tags "CI" {
ShouldBeParseError 'gcm ,' MissingArgument 4
}
#
# tokens
#
Describe 'tokens parsing' -Tags "CI" {
ShouldBeParseError ' )' UnexpectedToken 3
ShouldBeParseError ' }' UnexpectedToken 4 -CheckColumnNumber
}
Describe 'expressions parsing' -Tags "CI" {
ShouldBeParseError '1+' ExpectedValueExpression 2
ShouldBeParseError '[a()][b]' UnexpectedAttribute 0
@@ -1,5 +1,4 @@
Describe 'Testing of script internationalization' -Tags "CI" {
BeforeAll {
$dir=$PSScriptRoot
$defaultParamValues = $PSDefaultParameterValues.Clone()
@@ -1,5 +1,4 @@
Describe 'get-help HelpFunc1' -Tags "CI" {
BeforeAll {
function TestHelpError {
[CmdletBinding()]
@@ -173,7 +172,6 @@ Describe 'get-help file' -Tags "CI" {
}
Describe 'get-help other tests' -Tags "CI" {
BeforeAll {
try {
$tempFile = [IO.Path]::ChangeExtension([IO.Path]::GetTempFileName(), "ps1")