Skip to content

Commit 9c57c28

Browse files
authored
Merge pull request #1056 from davidjb/patch-1
Fix typos in configurator_setup messages for `:defines`
2 parents 697cf62 + 4f32022 commit 9c57c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ceedling/configurator_setup.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def validate_defines(_config)
242242
else
243243
# Handle the (probably) common case of trying to use matchers for any context other than :test or :preprocess
244244
if config.class == Hash
245-
msg = "#{walk} entry '#{config}' must be a list--matcher hashes only availalbe for :test & :preprocess contexts (see docs for details)"
245+
msg = "#{walk} entry '#{config}' must be a list; matcher hashes are only available for :test & :preprocess contexts (see docs for details)"
246246
@loginator.log( msg, Verbosity::ERRORS )
247247
valid = false
248248
# Catchall for any oddball entries
@@ -438,7 +438,7 @@ def validate_flags(_config)
438438
else
439439
# Handle the (probably) common case of trying to use matchers for operations in any context other than :test
440440
if config.class == Hash
441-
msg = "#{walk} entry '#{config}' must be a list--matcher hashes only availalbe for :test context (see docs for details)"
441+
msg = "#{walk} entry '#{config}' must be a list; matcher hashes are only available for :test context (see docs for details)"
442442
@loginator.log( msg, Verbosity::ERRORS )
443443
valid = false
444444
# Catchall for any oddball entries

0 commit comments

Comments
 (0)