Skip to content

inflated-goboscript/assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assert.gs

assert certain conditions, if not true, give an error

Run /test/

This is a assertion library which is built for goboscript. It is based on the stdlib implementation, but it is designed to be used with inflator.

Credits

  • aspizu for original version in stdlib

Installation

Install from the GTP. inflate install assert

Add assert to your inflator.toml config:

[dependencies]
# ...
assert = "assert"

Development

use inflate install -e .:

  1. clone the respository: git clone https://github.com/inflated-goboscript/assert
  2. cd assert
  3. inflate install -e .
  4. cd test
  5. inflate
  6. goboscript build
  7. open test.sb3