Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkExpectedOutput (0.13 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    			execCmd = []string{path}
    		}
    	})
    	return execCmd
    }
    
    // checkExpectedOutput compares the output from compiling and/or running with the contents
    // of the corresponding reference output file, if any (replace ".go" with ".out").
    // If they don't match, fail with an informative message.
    func (t test) checkExpectedOutput(gotBytes []byte) error {
    	got := string(gotBytes)
    	filename := filepath.Join(t.dir, t.goFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top