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

     1  # should support -continue
     2  unquote file.txt
     3  
     4  # Running with continue, the testscript command itself
     5  # should fail, but we should see the results of executing
     6  # both commands.
     7  ! testscript -continue file.txt
     8  stdout 'grep banana in'
     9  stdout 'no match for `banana` found in in'
    10  stdout 'grep apple in'
    11  
    12  -- file.txt --
    13  >grep banana in
    14  >grep apple in
    15  >-- in --
    16  >apple