lib/tap/test/subset_test.rb in tap-test-0.2.0 vs lib/tap/test/subset_test.rb in tap-test-0.3.0
- old
+ new
@@ -171,10 +171,10 @@
# # matching the '.est_on.' pattern)
# % rap test custom_test=.est_on.
#
def subset_test(type, skip=type[0..0].downcase)
type = type.upcase
- if run_subset?(type) || ENV[type]
+ if run_subset?(type) || ENV["#{type}_TEST"]
if match_regexp?("#{type}_TEST", name.to_s)
yield
else
print skip
end
\ No newline at end of file