Update test/
This commit is contained in:
parent
d36dc75e9a
commit
bcc36ed2c6
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ module BSD::Control
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_available_features_stdout
|
def test_available_features_stdout
|
||||||
cmd("ruby", readme_example("1_available_features.rb"))
|
assert_match %r|\A(The [a-zA-Z0-9_]+ feature is available\n){9}\z|,
|
||||||
.stdout
|
cmd("ruby", readme_example("1_available_features.rb")).stdout
|
||||||
.each_line { assert_match %r{The [a-zA-Z0-9_]+ feature is available}, _1 }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue