...

Text file src/github.com/rogpeppe/go-internal/testscript/testdata/testscript_update_script_expected_not_in_archive.txt

Documentation: github.com/rogpeppe/go-internal/testscript/testdata

     1# Verify that comparing stdout against a file not in the archive does nothing
     2
     3unquote scripts/testscript.txt
     4cp scripts/testscript.txt unchanged
     5! testscript -update scripts
     6cmp scripts/testscript.txt unchanged
     7
     8-- scripts/testscript.txt --
     9>fprintargs stdout right
    10>cp file expect
    11>cmp stdout expect
    12>
    13>-- file --
    14>wrong

View as plain text