Skip to content

Commit

Permalink
fix: added extra mock service args
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Aug 14, 2017
1 parent 29e4bc9 commit 1836355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/mock_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestMockService_NewService(t *testing.T) {
t.Fatalf("Expected a non-nil object but got nil")
}

if s.Args[2] != "--foo" {
if s.Args[3] != "--foo" {
t.Fatalf("Expected '--foo' argument to be passed")
}
}

0 comments on commit 1836355

Please sign in to comment.