Skip to content

Commit

Permalink
0.5.4. remove assert (#175)
Browse files Browse the repository at this point in the history
* remove assert

* 0.5.4
  • Loading branch information
sergey-shandar committed May 16, 2024
1 parent c63456b commit 09590f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 0.5.4

- remove `assert`

## 0.5.3

- fix progress for `get`. PR [#173](https://github.com/datablockset/blockset/pull/173).
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ members = ["blockset", "blockset-lib"]
resolver = "2"

[workspace.package]
version = "0.5.3"
version = "0.5.4"
edition = "2021"
license = "GPL-3.0-or-later"
authors = ["Sergey Shandar"]
repository = "https://github.com/datablockset/blockset"

[workspace.dependencies]
blockset-lib = { path = "blockset-lib", version = "0.5.3" }
blockset-lib = { path = "blockset-lib", version = "0.5.4" }
io-trait = "0.11.0"
io-impl = "0.11.0"
io-test = "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion blockset-lib/src/app/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<'a, T: Io, S: 'a + TreeAdd, F: Fn(&'a T) -> S> Add<'a, T, S, F> {
}
// TODO: move it to unit tests.
fn check(&mut self, cursor: &Cursor<String>) {
assert!(self.p.current + cursor.position() == self.p.total);
// assert!(self.p.current + cursor.position() == self.p.total);
}
fn mem_to_tree(&mut self, cursor: &mut Cursor<String>) -> io::Result<String> {
read_to_tree(
Expand Down

0 comments on commit 09590f2

Please sign in to comment.