1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-08 00:55:52 +00:00
testscript-rs/testdata/testscript_update_script.txt

24 lines
479 B
Text
Raw Permalink Normal View History

# Check that we support both txt and txtar extensions.
unquote scripts/testscript.txt
unquote testscript-new.txt
cp scripts/testscript.txt scripts/testscript2.txtar
testscript -update scripts
cmp scripts/testscript.txt testscript-new.txt
cmp scripts/testscript2.txtar testscript-new.txt
-- scripts/testscript.txt --
>fprintargs stdout right
>cmp stdout expect
>
>-- expect --
>wrong
-- testscript-new.txt --
>fprintargs stdout right
>cmp stdout expect
>
>-- expect --
>right