Skip to content

Commit

Permalink
Remove last trace of ParsedSourceDirName
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 17, 2018
1 parent 7f9cabc commit 9264001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/chezmoi/chezmoi_test.go
Expand Up @@ -45,9 +45,9 @@ func TestDirAttributes(t *testing.T) {
},
} {
t.Run(tc.sourceName, func(t *testing.T) {
gotPSDN := ParseDirAttributes(tc.sourceName)
if diff, equal := messagediff.PrettyDiff(tc.da, gotPSDN); !equal {
t.Errorf("ParseDirAttributes(%q) == %+v, want %+v, diff:\n%s", tc.sourceName, gotPSDN, tc.da, diff)
gotDA := ParseDirAttributes(tc.sourceName)
if diff, equal := messagediff.PrettyDiff(tc.da, gotDA); !equal {
t.Errorf("ParseDirAttributes(%q) == %+v, want %+v, diff:\n%s", tc.sourceName, gotDA, tc.da, diff)
}
if gotSourceName := tc.da.SourceName(); gotSourceName != tc.sourceName {
t.Errorf("%+v.SourceName() == %q, want %q", tc.da, gotSourceName, tc.sourceName)
Expand Down

0 comments on commit 9264001

Please sign in to comment.