d04 correction deux erreurs
This commit is contained in:
@@ -213,3 +213,43 @@ EOF
|
||||
)
|
||||
run_tests
|
||||
|
||||
# TEST 9 ########################################
|
||||
TESTNAME="test9"
|
||||
FIND=""
|
||||
REPLACEMENT="p"
|
||||
CONTENT=$(cat << EOF
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
EOF
|
||||
)
|
||||
RESULT=$(cat << EOF
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
EOF
|
||||
)
|
||||
run_tests
|
||||
|
||||
# TEST 10 ########################################
|
||||
TESTNAME="test10"
|
||||
FIND=""
|
||||
REPLACEMENT=""
|
||||
CONTENT=$(cat << EOF
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
EOF
|
||||
)
|
||||
RESULT=$(cat << EOF
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
EOF
|
||||
)
|
||||
run_tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user