test/import_test.rb in doit-0.3.0 vs test/import_test.rb in doit-0.3.2
- old
+ new
@@ -13,19 +13,19 @@
Import.init('hello')
end
it "list" do
Import.init('hello')
- assert_match /\/\.doit\/hello$/, Import.list['hello']
+ assert_match(/\/\.doit\/hello$/, Import.list['hello'])
end
it "info" do
out = noop({verbose: true}) {
Import.init('hello')
Import.info
}
- assert_match /SCRIPT/, out
- assert_match /CONFIG/, out
+ assert_match(/SCRIPT/, out)
+ assert_match(/CONFIG/, out)
end
it "coverage: script" do
Import.script
end