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

22 testing #23

Merged
merged 6 commits into from
Jun 28, 2022
Merged

22 testing #23

merged 6 commits into from
Jun 28, 2022

Conversation

skx
Copy link
Owner

@skx skx commented Jun 28, 2022

This pull-request, once complete, will close #22 by giving us 100% test-coverage of all our internal packages.

  • Add floating-point tests.
  • Add coverage for the exit primitive
    • Which should return an error (as break, continue, and return do), rather than actually calling os.Exit.
  • Add a method to register built-in functions, and use it.

skx added 6 commits June 28, 2022 16:54
* Change the `exit` primitive to return an error-code that can be tested
  * Rather than actually calling `os.Exit`
* This allows testing.

At the same time I've changed the way that built-in functions are
installed to make it easier to embed.
@skx skx merged commit 8d64b4a into master Jun 28, 2022
@skx skx deleted the 22-testing branch June 28, 2022 14:09
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.

Improve test-coverage
1 participant