We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780de4f commit eb4c7deCopy full SHA for eb4c7de
1 file changed
pipeline_test.go
@@ -189,6 +189,12 @@ func TestDiffWhitespaceOnlyOutput(t *testing.T) {
189
assert.Equal(t, []string{}, got)
190
}
191
192
+func TestDiffWhitespaceOnlyNoNewlines(t *testing.T) {
193
+ got, err := diff(`printf ' \t '`)
194
+ assert.NoError(t, err)
195
+ assert.Equal(t, []string{}, got)
196
+}
197
+
198
func TestDiffSingleFileNoTrailingNewline(t *testing.T) {
199
// Legacy compat: custom diff commands may not emit a trailing newline
200
want := []string{"services/foo/serverless.yml"}
0 commit comments