message: even more tests!
diff: @@ -383,7 +383,7 @@ mod tests {
  false
  );
  - scan.lock().unwrap().finish();
  + scan.lock().unwrap().abort();
  assert_eq!(
  scan.lock()
  @@ -441,4 +441,21 @@ mod tests {
  assert!(scan.lock().unwrap().eq(&scan_two.lock().unwrap()));
  }
  +
  + #[test]
  + /// test struct defaults
  + fn ferox_scan_defaults_are_correct() {
  + let scan = FeroxScan::default();
  + assert!(scan.progress_bar.is_none());
  + assert!(Uuid::parse_str(&scan.id).is_ok());
  + assert_eq!(scan.url, String::new());
  + match scan.scan_type {
  + ScanType::File => {
  + // do nothing, i.e. this is what we expect to see
  + }
  + ScanType::Directory => panic!(),
  + }
  + assert!(scan.task.is_none());
  + assert_eq!(scan.complete, false);
  + }
  }
  