Skip to content

Conversation

@dimitrovmaksim
Copy link
Contributor

No description provided.

@dimitrovmaksim dimitrovmaksim marked this pull request as ready for review September 11, 2023 08:09
.unwrap_or_else(|| panic!("No template with name '{}' found.", template_name))
.len() as u32;

if actual_count != expected_count_ptr {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this statement will always resolve as false because you use the pointer of expected_count instead of its value

Copy link
Contributor Author

@dimitrovmaksim dimitrovmaksim Sep 11, 2023

Choose a reason for hiding this comment

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

Yeah, the _ptr is unneeded, expected_count_ptr it the actual value

@dimitrovmaksim dimitrovmaksim merged commit 60290f3 into main Sep 11, 2023
@dimitrovmaksim dimitrovmaksim deleted the feat/test-dynamic-datasource-creation branch September 11, 2023 10:24
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.

3 participants