Revision 0aaf4889
Added by Adam Price about 8 years ago
test/hosts_test.rb | ||
---|---|---|
16 | 16 |
} |
17 | 17 |
stderr.must_equal '' |
18 | 18 |
stdout.split("\n").length.must_equal 2 |
19 |
stdout.must_match /.*dhcp129-000\.megacorp\.com.*/
|
|
19 |
stdout.must_match(/.*dhcp129-000\.megacorp\.com.*/)
|
|
20 | 20 |
|
21 | 21 |
host_id = stdout.split("\n")[1].split(",")[0] |
22 | 22 |
end |
Also available in: Unified diff
rubocop - Lint/AmbiguousRegexpLiteral