message: Move the new test_write_config further down
diff: @@ -335,20 +335,6 @@ mod tests {
  }
  - #[test]
  - fn test_write_config() {
  - let mut f = get_dummy_fs_for_tests();
  - let mut conf = conf::Conf::new();
  - // The config file should end up in
  - // the resources directory with this
  - match f.write_config(&conf) {
  - Ok(f) => (),
  - Err(e) => panic!("{:?}", e),
  - }
  - // Remove the config file!
  - f.delete(CONFIG_NAME);
  - }
  -
  #[test]
  fn test_file_exists() {
  let mut f = get_dummy_fs_for_tests();
  @@ -415,6 +401,20 @@ mod tests {
  }
  }
  + #[test]
  + fn test_write_config() {
  + let mut f = get_dummy_fs_for_tests();
  + let mut conf = conf::Conf::new();
  + // The config file should end up in
  + // the resources directory with this
  + match f.write_config(&conf) {
  + Ok(f) => (),
  + Err(e) => panic!("{:?}", e),
  + }
  + // Remove the config file!
  + f.delete(CONFIG_NAME);
  + }
  +
  //#[test]
  //#fn test_app_dirs() {
  //#use app_dirs::*;
  