Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

should.be_gt template

  • Loading branch information...
commit 5e98dab60f1ef5c548de1bce7f5f0ac3394fc1cd 1 parent 1c6f8c3
@sreal authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 ObjectAdaptations/types.ps1xml
View
5 ObjectAdaptations/types.ps1xml
@@ -28,6 +28,11 @@
if ($expected -eq $this.actual) {throw New-Object PesterFailure($expected,$this.actual)}
}
} -PassThru |
+
+ Add-Member ScriptMethod be_gt {
+ param($expected)
+ if ($this.actual -gt $expected) {throw New-Object PesterFailure($expected,$this.actual)}
+ } -PassThru |
Add-Member ScriptMethod have_count_of {
param($expected_count)
Please sign in to comment.
Something went wrong with that request. Please try again.