From d5f74a9ff40561b12c85885a47ea23e04198a73f Mon Sep 17 00:00:00 2001 From: Joel Bennett Date: Thu, 24 Aug 2023 01:32:18 -0400 Subject: [PATCH] Fix test (remove accidental space) --- Specs/ConfiguredParameters.feature | 2 +- Specs/ScriptAnalyzer.feature | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Specs/ConfiguredParameters.feature b/Specs/ConfiguredParameters.feature index 4094fbe..3b44816 100644 --- a/Specs/ConfiguredParameters.feature +++ b/Specs/ConfiguredParameters.feature @@ -18,7 +18,7 @@ Feature: Configure Command From Working Directory } """ When I call Test-Verb - Then the output object's use rName should be Joel + Then the output object's userName should be Joel And the output object's Age should be 42 @Functions @Import diff --git a/Specs/ScriptAnalyzer.feature b/Specs/ScriptAnalyzer.feature index a41b5a8..a85b8ae 100644 --- a/Specs/ScriptAnalyzer.feature +++ b/Specs/ScriptAnalyzer.feature @@ -5,7 +5,7 @@ Feature: Passes Script Analyzer Scenario: ScriptAnalyzer on the compiled module output Given the configuration module is imported - When we run ScriptAnalyzer on 'C:\Users\Jaykul\Projects\Modules\Configuration\1.5.5' with 'C:\Users\Jaykul\Projects\Modules\Configuration\PSScriptAnalyzerSettings.psd1' + When we run ScriptAnalyzer on 'C:\Users\Jaykul\Projects\Modules\Configuration\1.6.0' with 'C:\Users\Jaykul\Projects\Modules\Configuration\PSScriptAnalyzerSettings.psd1' Then it passes the ScriptAnalyzer rule PSAlignAssignmentStatement Then it passes the ScriptAnalyzer rule PSAvoidUsingCmdletAliases @@ -18,14 +18,17 @@ Feature: Passes Script Analyzer Then it passes the ScriptAnalyzer rule PSAvoidGlobalVars Then it passes the ScriptAnalyzer rule PSAvoidInvokingEmptyMembers Then it passes the ScriptAnalyzer rule PSAvoidLongLines + Then it passes the ScriptAnalyzer rule PSAvoidMultipleTypeAttributes Then it passes the ScriptAnalyzer rule PSAvoidNullOrEmptyHelpMessageAttribute Then it passes the ScriptAnalyzer rule PSAvoidOverwritingBuiltInCmdlets Then it passes the ScriptAnalyzer rule PSAvoidUsingPositionalParameters Then it passes the ScriptAnalyzer rule PSReservedCmdletChar Then it passes the ScriptAnalyzer rule PSReservedParams + Then it passes the ScriptAnalyzer rule PSAvoidSemicolonsAsLineTerminators Then it passes the ScriptAnalyzer rule PSAvoidShouldContinueWithoutForce Then it passes the ScriptAnalyzer rule PSAvoidTrailingWhitespace Then it passes the ScriptAnalyzer rule PSAvoidUsingUsernameAndPasswordParams + Then it passes the ScriptAnalyzer rule PSAvoidUsingBrokenHashAlgorithms Then it passes the ScriptAnalyzer rule PSAvoidUsingComputerNameHardcoded Then it passes the ScriptAnalyzer rule PSAvoidUsingConvertToSecureStringWithPlainText Then it passes the ScriptAnalyzer rule PSAvoidUsingDoubleQuotesForConstantString