X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;fp=csrc%2Foceani-tests.mdc;h=6759c542d6d7dd72093a99babcbcd02fafb26173;hp=fafb78821b76d5d1891cf1a630ad8896ef918a11;hb=bc3045b3d8e8140d94a7bfd0cff1dbf8a7b491a1;hpb=c1571dc004d832a6656664e814c238deb0f00513 diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index fafb788..6759c54 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -66,6 +66,12 @@ arguments separated from the name by commas. For each test, there is a section ./oceani --noexec --print .tmp.code1a >> .tmp.code2a || exit 1;\ if ! cmp -s .tmp.code1 .tmp.code2a; then \ echo " Failed"; diff -u .tmp.code1 .tmp.code2a; exit 1; fi ; \ + echo -n "brackets.. "; \ + echo '``````' > .tmp.code2b ; echo '``````' > .tmp.code2c ;\ + ./oceani --noexec --print --brackets .tmp.code1 >> .tmp.code2b || exit 1; \ + ./oceani -npb .tmp.code2b >> .tmp.code2c || exit 1 ; \ + if ! cmp -s .tmp.code2b .tmp.code2c; then \ + echo " Failed"; diff -u .tmp.code2b .tmp.code2c; exit 1; fi; \ echo -n "exec-after-print.. "; \ ./oceani .tmp.code1 $${1+"$$@"} > .tmp.have ; \ if ! cmp -s .tmp.want .tmp.have; then \