Skip to content

Commit

Permalink
squash!: correct tests names
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Apr 25, 2024
1 parent 4580268 commit d0deafc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/xline/src/conflict/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::conflict::{
use super::spec_pool::{KvSpecPool, LeaseSpecPool};

#[test]
fn kv_sp_operations_is_ok() {
fn kv_sp_operations_are_ok() {
let mut sp = KvSpecPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_put("a");
Expand All @@ -42,7 +42,7 @@ fn kv_sp_operations_is_ok() {
}

#[test]
fn kv_ucp_operations_is_ok() {
fn kv_ucp_operations_are_ok() {
let mut ucp = KvUncomPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_put("a");
Expand All @@ -69,7 +69,7 @@ fn kv_ucp_operations_is_ok() {
}

#[test]
fn lease_sp_operations_is_ok() {
fn lease_sp_operations_are_ok() {
let mut sp = LeaseSpecPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_lease_grant(0);
Expand All @@ -93,7 +93,7 @@ fn lease_sp_operations_is_ok() {
}

#[test]
fn lease_ucp_operations_is_ok() {
fn lease_ucp_operations_are_ok() {
let mut ucp = LeaseUncomPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_lease_grant(0);
Expand All @@ -119,7 +119,7 @@ fn lease_ucp_operations_is_ok() {
}

#[test]
fn exclusive_sp_operations_is_ok() {
fn exclusive_sp_operations_are_ok() {
let mut sp = ExclusiveSpecPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_auth_enable();
Expand All @@ -137,7 +137,7 @@ fn exclusive_sp_operations_is_ok() {
}

#[test]
fn exclusive_ucp_operations_is_ok() {
fn exclusive_ucp_operations_are_ok() {
let mut ucp = ExclusiveUncomPool::default();
let mut gen = EntryGenerator::default();
let entry1 = gen.gen_auth_enable();
Expand Down

0 comments on commit d0deafc

Please sign in to comment.