module-inifile/spec/unit/puppet/util
Terry Wilson 5904c6f7b4 Allow empty values
It is a legitimate use case to set empty values; to override a
default when an empty value is acceptable for instance. This patch
changes the regex in three ways: it 1) removes the requirement for
a non-whitespace terminator on a setting value, 2) makes the value
match non-greedy so that the \s*$ at the end can catch the newline
and 3) changes the \s*=\s* to [ \t]*=[ \t]* because we don't want
that to capture *any* whitespace (like a newline).
2013-07-10 10:26:37 -05:00
..
external_iterator_spec.rb Add support for "global" section at beginning of file 2012-08-17 04:48:28 -07:00
ini_file_spec.rb Allow empty values 2013-07-10 10:26:37 -05:00
setting_value_spec.rb Added 'ini_subsetting' custom resource type 2013-03-25 11:34:37 +01:00