Skip to content

Commit

Permalink
rename tests null -> none
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman committed May 21, 2024
1 parent 0997c11 commit 7c1be2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/src/cache/patch_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ mod next_boot_patch_tests {
}

#[test]
fn returns_null_patch_if_first_patch_failed_to_boot() -> Result<()> {
fn returns_none_patch_if_first_patch_failed_to_boot() -> Result<()> {
let temp_dir = TempDir::new("patch_manager")?;
let mut manager = PatchManager::manager_for_test(&temp_dir);

Expand Down Expand Up @@ -813,7 +813,7 @@ mod next_boot_patch_tests {
}

#[test]
fn returns_null_if_first_patch_did_not_successfully_boot() -> Result<()> {
fn returns_none_if_first_patch_did_not_successfully_boot() -> Result<()> {
let temp_dir = TempDir::new("patch_manager")?;
let mut manager = PatchManager::manager_for_test(&temp_dir);

Expand All @@ -827,7 +827,7 @@ mod next_boot_patch_tests {
}

#[test]
fn returns_null_if_next_patch_did_not_successfully_boot() -> Result<()> {
fn returns_none_if_next_patch_did_not_successfully_boot() -> Result<()> {
let temp_dir = TempDir::new("patch_manager")?;
let mut manager = PatchManager::manager_for_test(&temp_dir);

Expand Down

0 comments on commit 7c1be2d

Please sign in to comment.