Skip to content

Commit cb6f9c5

Browse files
author
Kapil Borle
committed
Fix TextEdit test cases
1 parent 847ac16 commit cb6f9c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/Engine/TextEdit.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Describe "TextEdit Class" {
1616
It "throws if end line number is less than start line number" {
1717
$text = "Get-ChildItem"
1818
{New-Object -TypeName $type -ArgumentList @(2, 1, 1, ($text.Length + 1), $text)} |
19-
Should Throw "start line number"
19+
Should Throw
2020
}
2121

2222
It "throws if end column number is less than start column number for same line" {
2323
$text = "start-process"
2424
{New-Object -TypeName $type -ArgumentList @(1, 2, 1, 1, $text)} |
25-
Should Throw "start column number"
25+
Should Throw
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)