Skip to content

Commit

Permalink
address pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed Sep 5, 2023
1 parent 62adbc5 commit d9ff2e0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ func TestConf_Validate(t *testing.T) {
},
WantErr: "sync_interval must be longer than update_interval",
},
"err-invalid-dataset": {
In: conf{
SyncInterval: defaultSyncInterval,
UpdateInterval: defaultUpdateInterval,
Dataset: "everything",
},
WantErr: "dataset must be 'all', 'users', 'devices' or empty",
},
}

for name, tc := range tests {
Expand Down

0 comments on commit d9ff2e0

Please sign in to comment.