...

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

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

     1unquote scripts/testscript.txt
     2unquote testscript-new.txt
     3testscript -update scripts
     4cmp 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

View as plain text