Discover Packages
github.com/kcarretto/paragon
pkg
script
stdlib
assert
package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Feb 5, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Equal will check if two values are equal. This function will result in a fatal error if the assertion is incorrect.
@callable: assert.equal
@param: expected @starlark.Value
@param: actual @starlark.Value
@usage: assert.equal("expected string", some_string)
Include the sys library in a script environment.
Library prepares a new regex library for use within a script environment.
NoError will check if the passed value is a starlark.NoneType, if not it will error out the
script. This function may cause a fatal error if the assertion is incorrect.
@callable: assert.noError
@param: err @starlark.Value
@usage: assert.noError(err)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.