minor formatting cleanups
This commit is contained in:
parent
8aa4fa7c2d
commit
53d2658ea2
|
@ -276,9 +276,10 @@ impl QuestDataPacket {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use claim::*;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
pub fn create_quest_header_packet_from_bytes() -> Result<(), PacketError> {
|
||||
// dat
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use std::fmt::{Debug, Formatter};
|
||||
use std::fs::File;
|
||||
use std::io::{BufReader, Cursor, Read, Write};
|
||||
use std::path::Path;
|
||||
|
@ -8,7 +9,6 @@ use thiserror::Error;
|
|||
use crate::bytes::*;
|
||||
use crate::compression::{prs_compress, prs_decompress, PrsCompressionError};
|
||||
use crate::text::Language;
|
||||
use std::fmt::{Debug, Formatter};
|
||||
|
||||
pub const QUEST_BIN_NAME_LENGTH: usize = 32;
|
||||
pub const QUEST_BIN_SHORT_DESCRIPTION_LENGTH: usize = 128;
|
||||
|
@ -314,11 +314,11 @@ impl QuestBin {
|
|||
#[cfg(test)]
|
||||
pub mod tests {
|
||||
use claim::*;
|
||||
use rand::prelude::StdRng;
|
||||
use rand::{Fill, SeedableRng};
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
use rand::prelude::StdRng;
|
||||
use rand::{Fill, SeedableRng};
|
||||
|
||||
pub fn validate_quest_58_bin(bin: &QuestBin) {
|
||||
assert_eq!(2000, bin.object_code.len());
|
||||
|
|
Loading…
Reference in a new issue