File: diff_notwindows.go

package info (click to toggle)
miller 6.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 87,928 kB
  • sloc: ruby: 162; sh: 119; makefile: 87
file content (14 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ================================================================
// Handling diff or fc for regression-test.
// ================================================================

//go:build !windows
// +build !windows

package platform

// GetDiffRunArray gets the command for diffing actual/expected output in a
// regression test.
func GetDiffRunArray(filename1, filename2 string) []string {
	return []string{"diff", "-u", filename1, filename2}
}