mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-28 17:35:36 +00:00
Comment processing fixes
This commit is contained in:
parent
f7c057b167
commit
db8dddd2a9
@ -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
|
Loading…
Reference in New Issue
Block a user