Update test/

This commit is contained in:
0x1eef 2024-05-13 16:02:17 -03:00
parent d36dc75e9a
commit bcc36ed2c6

View file

@ -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