Internationalisation
Bundled Plugins API
expect
Provides a way of checking values match expected results. At it's core, it uses assert to make the check.
For example:
1
expect("Hello World"):is("Hello World")
2
expect("Hello World"):isNot("Hello Mars")
3
expect(value):isAtLeast(10)
4
expect.given("the world is a globe"):that(theEarth):isNot("flat")
Copied!

API Overview

API Documentation

Last modified 1mo ago
Export as PDF
Copy link