Skip to content

Commit 04cd813

Browse files
committed
Improve test suite
1 parent b7b5b79 commit 04cd813

File tree

14 files changed

+641
-175
lines changed

14 files changed

+641
-175
lines changed

Cargo.lock

Lines changed: 38 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ alloc_counter = {version = "=0.0.4", optional = true }
2323
test-util = { path = "../test-util" }
2424

2525
[dev-dependencies]
26-
pretty_assertions = "=1.0.0"
26+
pretty_assertions = "=1.1.0"
2727
test-macros = { path = "../test-macros" }

engine/src/backend.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,6 @@ pub enum EvalResult<C> {
8181
},
8282
}
8383

84-
impl<C> EvalResult<C> {
85-
pub fn zero_time(&mut self) {
86-
match self {
87-
EvalResult::Select { time, .. } => *time = Duration::new(0, 0),
88-
EvalResult::Insert { time, .. } => *time = Duration::new(0, 0),
89-
EvalResult::CreateTable { time, .. } => *time = Duration::new(0, 0),
90-
EvalResult::DropTable { time, .. } => *time = Duration::new(0, 0),
91-
}
92-
}
93-
}
94-
9584
impl<C> PartialEq for EvalResult<C>
9685
where
9786
C: PartialEq,

0 commit comments

Comments
 (0)