mirror of
https://github.com/inspec/inspec
synced 2024-11-30 08:30:39 +00:00
lint exception
This commit is contained in:
parent
1ce1f26d76
commit
0185751ff5
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ RSpec::Matchers.define :cmp do |expected|
|
||||||
def float?(value)
|
def float?(value)
|
||||||
return true if Float(value)
|
return true if Float(value)
|
||||||
false
|
false
|
||||||
rescue ArgumentError => ex
|
rescue ArgumentError => _ex
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue