Skip to content

Commit d07bdaa

Browse files
committed
fix: only display changing sources in puts_diff in test
1 parent 790d961 commit d07bdaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/igniter/test.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ defmodule Igniter.Test do
119119
|> Map.values()
120120
|> Enum.sort_by(& &1.path)
121121
|> Enum.filter(fn source ->
122-
!only || source.path in List.wrap(only)
122+
(!only || source.path in List.wrap(only)) && Igniter.changed?(source)
123123
end)
124124
|> Igniter.diff(color?: color?)
125125
end

0 commit comments

Comments
 (0)