Comment processing fixes

This commit is contained in:
Mike Farah 2023-06-06 13:34:44 -07:00
parent f7c057b167
commit db8dddd2a9

View File

@ -9,7 +9,7 @@ testLoadFileNotExist() {
testLoadFileExpNotExist() { testLoadFileExpNotExist() {
result=$(./yq e -n 'load(.a)' 2>&1) result=$(./yq e -n 'load(.a)' 2>&1)
assertEquals 1 $? assertEquals 1 $?
assertEquals "Error: Filename expression returned nil" "$result" assertEquals "Error: filename expression returned nil" "$result"
} }
testStrLoadFileNotExist() { testStrLoadFileNotExist() {
@ -21,7 +21,7 @@ testStrLoadFileNotExist() {
testStrLoadFileExpNotExist() { testStrLoadFileExpNotExist() {
result=$(./yq e -n 'strload(.a)' 2>&1) result=$(./yq e -n 'strload(.a)' 2>&1)
assertEquals 1 $? assertEquals 1 $?
assertEquals "Error: Filename expression returned nil" "$result" assertEquals "Error: filename expression returned nil" "$result"
} }
source ./scripts/shunit2 source ./scripts/shunit2