Advertisement
Guest User

Untitled

a guest
Aug 15th, 2021
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. expected := []TestValue{
  2. TestValue{BackupId: -1, ExpectedValue: "", ExpectedErr: BAD_ID},
  3. TestValue{BackupId: 0, ExpectedValue: "", ExpectedErr: BAD_ID},
  4. TestValue{BackupId: 10200300, ExpectedValue: "", ExpectedErr: BACKUP_ID_TOO_BIG},
  5. }
  6. expected := []TestValue{
  7. TestValue{BackupId: 10, ExpectedValue: "Backup#000010", ExpectedErr: nil},
  8. TestValue{BackupId: 20, ExpectedValue: "Backup#000020", ExpectedErr: nil},
  9. TestValue{BackupId: 100500, ExpectedValue: "Backup#100500", ExpectedErr: nil},
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement