File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def coverage_dir(dir = nil)
35
35
return @coverage_dir if defined? ( @coverage_dir ) && dir . nil?
36
36
37
37
@coverage_path = nil # invalidate cache
38
- @coverage_dir = ( dir || "coverage" )
38
+ @coverage_dir = dir || "coverage"
39
39
end
40
40
41
41
#
@@ -140,7 +140,7 @@ def print_error_status
140
140
def nocov_token ( nocov_token = nil )
141
141
return @nocov_token if defined? ( @nocov_token ) && nocov_token . nil?
142
142
143
- @nocov_token = ( nocov_token || "nocov" )
143
+ @nocov_token = nocov_token || "nocov"
144
144
end
145
145
alias skip_token nocov_token
146
146
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ def status
65
65
return "skipped" if skipped?
66
66
return "never" if never?
67
67
return "missed" if missed?
68
- return "covered" if covered?
68
+
69
+ "covered" if covered?
69
70
end
70
71
end
71
72
end
You can’t perform that action at this time.
0 commit comments