Skip to content

Commit

Permalink
[Fix rubocop#7] Move node_pattern.rb, processed_source_spec.rb and ru…
Browse files Browse the repository at this point in the history
…bocop/token_spec.rb into ast/

Done in two operations to facilitate git-blame
  • Loading branch information
marcandre committed May 15, 2020
1 parent 3fa5902 commit 09485ff
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions lib/rubocop/ast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
require 'parser'
require 'forwardable'

require_relative 'node_pattern'

require_relative 'ast/node_pattern'
require_relative 'ast/sexp'
require_relative 'ast/node'
require_relative 'ast/node/mixin/method_identifier_predicates'
Expand Down Expand Up @@ -55,8 +54,7 @@
require_relative 'ast/node/while_node'
require_relative 'ast/node/yield_node'
require_relative 'ast/builder'
require_relative 'ast/processed_source'
require_relative 'ast/token'
require_relative 'ast/traversal'
require_relative 'ast/version'

require_relative 'token'
require_relative 'processed_source'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def some_method
describe 'when the file exists' do
around do |example|
org_pwd = Dir.pwd
Dir.chdir(__dir__)
Dir.chdir("#{__dir__}/..")
example.run
Dir.chdir(org_pwd)
end
Expand Down
File renamed without changes.

0 comments on commit 09485ff

Please sign in to comment.