Skip to content

Commit

Permalink
Merge pull request #254 from jlindgren90/master
Browse files Browse the repository at this point in the history
Fix typo (unity_gelper -> unity_helper)
  • Loading branch information
mvandervoord authored Oct 30, 2019
2 parents 9327cd7 + 277dc34 commit 9a0bf38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cmock_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def initialize(options=nil)
end
options[:unity_helper_path] ||= options[:unity_helper]
options[:unity_helper_path] = [options[:unity_helper_path]] if options[:unity_helper_path].is_a? String
options[:includes_c_post_header] = ((options[:includes_c_post_header] || []) + (options[:unity_gelper_path] || [])).uniq
options[:includes_c_post_header] = ((options[:includes_c_post_header] || []) + (options[:unity_helper_path] || [])).uniq
options[:plugins].compact!
options[:plugins].map! {|p| p.to_sym}
@options = options
Expand All @@ -73,7 +73,7 @@ def initialize(options=nil)
treat_as_map.merge!(@options[:treat_as])
@options[:treat_as] = treat_as_map

@options.each_key do |key|
@options.each_key do |key|
unless methods.include?(key)
eval("def #{key.to_s}() return @options[:#{key.to_s}] end")
end
Expand Down

0 comments on commit 9a0bf38

Please sign in to comment.