From d441c24aff524c3918bf9f416887fb4630e88113 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 22 Aug 2024 21:02:55 +0200 Subject: [PATCH] Remove debug test --- tests/Unit/Public/Assert-BlockString.tests.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/Unit/Public/Assert-BlockString.tests.ps1 b/tests/Unit/Public/Assert-BlockString.tests.ps1 index 0b2a5a4..c0afef8 100644 --- a/tests/Unit/Public/Assert-BlockString.tests.ps1 +++ b/tests/Unit/Public/Assert-BlockString.tests.ps1 @@ -160,8 +160,4 @@ Describe 'Assert-BlockString' { { & $scriptBlock } | Should-Throw -ExceptionMessage 'The Expected value must be of type string or string`[`], but it was not.' } - - It 'Should throw the correct error message when Expected is not a string' { - { throw 'int[]' } | Should-Throw -ExceptionMessage 'string`[`]' - } }