miller/internal/pkg/platform/diff_notwindows.go
2021-11-11 14:15:13 -05:00

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}
}