Skip to content

Commit

Permalink
not compare order if no depends
Browse files Browse the repository at this point in the history
  • Loading branch information
ochinchina committed Mar 31, 2018
1 parent 3b4f127 commit c54750c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/process_sort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ func TestSortProgram(t *testing.T) {
fmt.Printf("%s\n", e.GetProgramName())
}

if !isProgramBefore(result, "prog-4", "prog-5") ||
!isProgramBefore(result, "prog-5", "prog-3") ||
if !isProgramBefore(result, "prog-5", "prog-3") ||
!isProgramBefore(result, "prog-3", "prog-1") ||
!isProgramBefore(result, "prog-1", "prog-2") ||
!isProgramBefore(result, "prog-7", "prog-6") {
Expand Down

0 comments on commit c54750c

Please sign in to comment.