[!windows] skip 'Windows only'

# test that chezmoi diff invokes diff.command when configured
chezmoi diff
stdout ^arg1\s+.*/\.file\s+.*/\.file\r$

-- bin/diff.cmd --
@echo off
echo %*
-- home/user/.config/chezmoi/chezmoi.toml --
[diff]
    command = "diff"
    args = ["arg1"]
-- home/user/.file --
# destination contents of .file
-- home/user/.local/share/chezmoi/dot_file --
# target contents of .file
