mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
3 lines
237 B
Text
3 lines
237 B
Text
Use the `eq` matcher to test the equality of two values: `its('Port') { should eq '22' }`.
|
|
|
|
Using `its('Port') { should eq 22 }` will fail because `22` is not a string value! Use the `cmp` matcher for less restrictive value comparisons.
|