make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151)

* fix megatest newlines
* still allow missing trailing newline for now but in a more strict way than before
This commit is contained in:
Timothee Cour 2020-11-28 00:09:31 -08:00 • committed by GitHub
commit b809562c7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 110 additions and 96 deletions

View file

@ -4,7 +4,8 @@ discard """
res: yes
yes
running someProc(false)
res:
res:
'''
"""
@ -20,4 +21,4 @@ echo "running someProc(true)"
echo someProc(true)
echo "running someProc(false)"
echo someProc(false)
echo someProc(false)