Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: fix multiple return issue and extend analyzer tests #7

Merged
merged 19 commits into from
Nov 5, 2023

Conversation

mrLSD
Copy link
Owner

@mrLSD mrLSD commented Oct 20, 2023

Description

Fixes

Tests

Extended semantic analyzer tests:

  • if-conditions
  • loops
  • function-body
  • main-run
  • covered with tests all SemanticStackContext instructions

Coverage

💯 100% tests coverage

@mrLSD mrLSD self-assigned this Oct 20, 2023
@mrLSD mrLSD added this to the v0.2.4 milestone Oct 20, 2023
@mrLSD mrLSD added enhancement New feature or request tests Tests implementations and coverage labels Oct 20, 2023
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/ast.rs 100.00% <100.00%> (+19.34%) ⬆️
src/semantic.rs 100.00% <100.00%> (+41.74%) ⬆️
src/types/block_state.rs 100.00% <ø> (ø)
src/types/error.rs 100.00% <ø> (ø)
src/types/semantic.rs 100.00% <100.00%> (+44.32%) ⬆️
tests/binding_tests.rs 100.00% <100.00%> (ø)
tests/function_call_tests.rs 100.00% <100.00%> (ø)
tests/if_tests.rs 100.00% <100.00%> (ø)
tests/loop_tests.rs 100.00% <100.00%> (ø)
tests/main_tests.rs 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@mrLSD mrLSD changed the title Feat: extend tests for if-conditions and loops Feat: fix multiple return issue and extend analyzer tests Oct 31, 2023
@mrLSD mrLSD marked this pull request as ready for review November 5, 2023 16:09
@mrLSD mrLSD merged commit b25203d into master Nov 5, 2023
4 checks passed
@mrLSD mrLSD deleted the feat/extend-tests-v0.2.4 branch November 5, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Tests implementations and coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant