From 5343c287011e206bef28bcb584eb8c906c7e80f8 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Thu, 20 Mar 2025 19:52:04 -0700
Subject: [PATCH] tests: consistent use

---
 src/tests.rs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tests.rs b/src/tests.rs
index 065f9da..ef061fb 100644
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -1,10 +1,10 @@
-use crate::v0::TimedBlockId;
+use crate::v0::{Error,File,TimedBlockId};
 
 #[test]
-fn _1()->Result<(),crate::v0::Error>{
+fn _1()->Result<(),Error>{
 	let file=std::fs::File::open("files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d").unwrap();
 	let input=std::io::BufReader::new(file);
-	let mut bot_file=crate::v0::File::new(input).unwrap();
+	let mut bot_file=File::new(input).unwrap();
 	println!("header={:?}",bot_file.header);
 	for &TimedBlockId{time,block_id} in &bot_file.header.offline_blocks_timeline{
 		println!("offline time={} block_id={:?}",time,block_id);
@@ -25,13 +25,13 @@ fn _1()->Result<(),crate::v0::Error>{
 }
 
 #[test]
-fn _2()->Result<(),crate::v0::Error>{
+fn _2()->Result<(),Error>{
 	let file=std::fs::File::open("files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d").unwrap();
 	let input=std::io::BufReader::new(file);
 
 	let t0=std::time::Instant::now();
 
-	let mut bot_file=crate::v0::File::new(input).unwrap();
+	let mut bot_file=File::new(input).unwrap();
 
 	let _block=bot_file.read_all()?;