diff --git a/docs/CMock_Summary.md b/docs/CMock_Summary.md index 06c2aa6..22a40b0 100644 --- a/docs/CMock_Summary.md +++ b/docs/CMock_Summary.md @@ -293,7 +293,7 @@ Defined in the yaml file, they look more like this: * `:plugins`: An array of which plugins to enable. 'expect' is always active. Also - available currently are `:ignore,` `:ignore_args,` `:array,` + available currently are `:ignore,` `:ignore_arg,` `:array,` `:cexception,` `:callback,` and `:return_thru_ptr` * `:strippables`: diff --git a/scripts/create_mock.rb b/scripts/create_mock.rb index cc69249..c72e64b 100644 --- a/scripts/create_mock.rb +++ b/scripts/create_mock.rb @@ -4,5 +4,5 @@ raise "Header file to mock must be specified!" unless ARGV.length >= 1 mock_out = ENV.fetch('MOCK_OUT', './build/test/mocks') mock_prefix = ENV.fetch('MOCK_PREFIX', 'mock_') -cmock = CMock.new(plugins: [:ignore, :return_thru_ptr], mock_prefix: mock_prefix, mock_path: mock_out) +cmock = CMock.new({:plugins => [:ignore, :return_thru_ptr], :mock_prefix => mock_prefix, :mock_path => mock_out}) cmock.setup_mocks(ARGV[0])