Skip to content

EvanHahn/wren-please

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Please

Please is a simple assertion library for Wren. It works with Wren 0.3.0 as of now.

Basic usage

import "please" for Please

Please.equal(123, 123)
Please.notEqual(456, 789)

Please.deepEqual([1, [2, 3]], [1, [2, 3]])

Please.succeed { "Hello" + "nation" }
Please.fail { 123.badMethod }

Please.beNull(null)
Please.exist(anythingOtherThanNull)

Please.beTruthy(true)
Please.beTruthy(123)
Please.beFalsy(false)
Please.beFalsy(null)

Hacking on this

To run tests, run this:

wren_cli test.wren

About

Assertion library for Wren.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published