mirror of
https://github.com/inspec/inspec
synced 2024-12-29 22:43:25 +00:00
9 lines
179 B
Ruby
9 lines
179 B
Ruby
|
title 'Test case 3 for exceptions controls'
|
||
|
|
||
|
control 'a control with an undefined method' do
|
||
|
plowshares = swords.beat
|
||
|
end
|
||
|
|
||
|
control 'a control with a divide-by-zero' do
|
||
|
1/0
|
||
|
end
|