Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 68c3bde

Browse files
committed
Move :nocov: to cover entire branch
1 parent 078f2f9 commit 68c3bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec/core/configuration_options.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ def args_from_options_file(path)
177177
FlatMap.flat_map(config_lines, &:shellsplit)
178178
end
179179

180+
# :nocov:
180181
def options_file_as_erb_string(path)
181182
if RUBY_VERSION >= '2.6'
182183
ERB.new(File.read(path), :trim_mode => '-').result(binding)
183184
else
184-
# :nocov:
185185
ERB.new(File.read(path), nil, '-').result(binding)
186-
# :nocov:
187186
end
188187
end
188+
# :nocov:
189189

190190
def custom_options_file
191191
command_line_options[:custom_options_file]

0 commit comments

Comments
 (0)