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

Commit b088f95

Browse files
committed
One line per require file.
1 parent 322d272 commit b088f95

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

lib/rspec/core.rb

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,32 @@
77
RSpec::Support.define_optimized_require_for_rspec(:core) { |f| require_relative f }
88

99
%w[
10-
version warnings flat_map filter_manager dsl notifications
11-
reporter hooks memoized_helpers metadata pending formatters
12-
ordering world configuration option_parser configuration_options
13-
command_line runner example shared_example_group/collection
14-
shared_example_group example_group
10+
version
11+
warnings
12+
13+
flat_map
14+
filter_manager
15+
dsl
16+
notifications
17+
reporter
18+
19+
hooks
20+
memoized_helpers
21+
metadata
22+
pending
23+
formatters
24+
ordering
25+
26+
world
27+
configuration
28+
option_parser
29+
configuration_options
30+
command_line
31+
runner
32+
example
33+
shared_example_group/collection
34+
shared_example_group
35+
example_group
1536
].each { |name| RSpec::Support.require_rspec_core name }
1637

1738
module RSpec

0 commit comments

Comments
 (0)