FIX: config test to match new semantics
In 21db988e18 we removed the fallback to
default values when a value has a config syntax error. Such errors should
not silently ignored and overidden by the default but handled.
This commit is contained in:
parent
126e552f1b
commit
8ca6865c44
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value
|
|||
END
|
||||
|
||||
LUMIERA_TEST_NUMBER_1=NAN
|
||||
TEST "number get, env override, default fallback" number_get test.number.1 '1234567890 # comment' <<END
|
||||
out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value, 1234567890
|
||||
TEST "number get, type error" number_get test.number.1 '1234 # comment' <<END
|
||||
out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value, 0
|
||||
END
|
||||
|
||||
unset LUMIERA_TEST_NUMBER_1
|
||||
|
|
|
|||
Loading…
Reference in a new issue