From 0fe465d33e56c9db1286fae3b9866b50dfa189aa Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Wed, 19 Jan 2022 21:55:40 +0000 Subject: [PATCH] Update lower.Tests.ps1 lower tests updated to reflect changes --- test/lower.Tests.ps1 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/test/lower.Tests.ps1 b/test/lower.Tests.ps1 index cfddc59..7441e1a 100644 --- a/test/lower.Tests.ps1 +++ b/test/lower.Tests.ps1 @@ -358,52 +358,52 @@ Describe -Tag 'lower', -TestName 'All Tests' { Describe 'Set and Get Param String Tests' { Context 'Strip[i].Label test0' { It 'Should set Strip[0].Label to test0' { - Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test0' - Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test0' + Param_Set -PARAM "Strip[0].Label" -VALUE 'test0' + Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test0' } It 'Should set Strip[1].Label to test0' { - Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test0' - Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test0' + Param_Set -PARAM "Strip[1].Label" -VALUE 'test0' + Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test0' } It 'Should set Strip[2].Label to test0' { - Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test0' - Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test0' + Param_Set -PARAM "Strip[2].Label" -VALUE 'test0' + Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test0' } } Context 'Strip[i].Label test1' { It 'Should set Strip[0].Label to test1' { - Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test1' - Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test1' + Param_Set -PARAM "Strip[0].Label" -VALUE 'test1' + Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test1' } It 'Should set Strip[1].Label to test1' { - Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test1' - Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test1' + Param_Set -PARAM "Strip[1].Label" -VALUE 'test1' + Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test1' } It 'Should set Strip[2].Label to test1' { - Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test1' - Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test1' + Param_Set -PARAM "Strip[2].Label" -VALUE 'test1' + Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test1' } } Context 'Strip[i].Label test2' { It 'Should set Strip[0].Label to test2' { - Param_Set_String -PARAM "Strip[0].Label" -VALUE 'test2' - Param_Get_String -PARAM "Strip[0].Label" | Should -Be 'test2' + Param_Set -PARAM "Strip[0].Label" -VALUE 'test2' + Param_Get -PARAM "Strip[0].Label" -IS_STRING $true | Should -Be 'test2' } It 'Should set Strip[1].Label to test2' { - Param_Set_String -PARAM "Strip[1].Label" -VALUE 'test2' - Param_Get_String -PARAM "Strip[1].Label" | Should -Be 'test2' + Param_Set -PARAM "Strip[1].Label" -VALUE 'test2' + Param_Get -PARAM "Strip[1].Label" -IS_STRING $true | Should -Be 'test2' } It 'Should set Strip[2].Label to test2' { - Param_Set_String -PARAM "Strip[2].Label" -VALUE 'test2' - Param_Get_String -PARAM "Strip[2].Label" | Should -Be 'test2' + Param_Set -PARAM "Strip[2].Label" -VALUE 'test2' + Param_Get -PARAM "Strip[2].Label" -IS_STRING $true | Should -Be 'test2' } } }