Skip to content

Refactor tests for naivebuffermgr#30

Merged
cutsea110 merged 3 commits into
masterfrom
refactor-tests-for-naivebuffermgr
Jun 25, 2022
Merged

Refactor tests for naivebuffermgr#30
cutsea110 merged 3 commits into
masterfrom
refactor-tests-for-naivebuffermgr

Conversation

@cutsea110
Copy link
Copy Markdown
Owner

@cutsea110 cutsea110 commented Jun 25, 2022

refactoring.

FYI. this cannot pass the test.
If you want to check these tests. you get to cherry-pick 94800a0 .
This commit is in #29 .

use super::*;

#[test]
fn unit_test() -> Result<()> {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's from src/buffer/manager.rs test code.

}

#[test]
fn replace_strategy_test() -> Result<()> {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new test.
check for replacement strategy.

@cutsea110 cutsea110 self-assigned this Jun 25, 2022
@cutsea110 cutsea110 merged commit c23be66 into master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant