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

     1  unquote scripts/testscript.txt
     2  unquote testscript-new.txt
     3  testscript -update scripts
     4  cmp scripts/testscript.txt testscript-new.txt
     5  
     6  -- scripts/testscript.txt --
     7  >cmp got want
     8  >
     9  >-- got --
    10  >right
    11  >-- want --
    12  >wrong
    13  -- testscript-new.txt --
    14  >cmp got want
    15  >
    16  >-- got --
    17  >right
    18  >-- want --
    19  >right