github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/testscript/testdata/testscript_update_script_expected_not_in_archive.txt (about)

     1  # Verify that comparing stdout against a file not in the archive does nothing
     2  
     3  unquote scripts/testscript.txt
     4  cp scripts/testscript.txt unchanged
     5  ! testscript -update scripts
     6  cmp 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