mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
14 lines
451 B
Go
14 lines
451 B
Go
// ================================================================
|
|
// 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}
|
|
}
|