Skip to content

Conversation

@Davda-James
Copy link
Contributor

@Davda-James Davda-James commented Oct 1, 2025

Refactored the tests of split_recursively.rs to be based on public APIs.

Closes issue: #965

Tests of split_recursively.rs
image

Tests and linting done:
image

Copy link
Member

@georgeh0 georgeh0 left a comment

Choose a reason for hiding this comment

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

Mostly look good. One minor refactor recommended. Thanks!

};
let factory = Arc::new(Factory);

let input_arg_schemas = &[
Copy link
Member

Choose a reason for hiding this comment

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

Consider refactor the logic to build schema into a function and reuse.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@georgeh0 will do it and soon add new commit.

Copy link
Member

Choose a reason for hiding this comment

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

thanks a lot @Davda-James love your contribution!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@georgeh0 @badmonster0 defined schema in function and use that for tests and also refactor code a bit. Please review it and if any improvement or changes needed pls tell will do it.

Copy link
Member

Choose a reason for hiding this comment

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

Looks good! Thanks!

@georgeh0 georgeh0 merged commit a1e2810 into cocoindex-io:main Oct 1, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants