Commit graph

13 commits

Author SHA1 Message Date
James Dinsdale fab582c403 Add tests for assertion false-positives with empty values 2018-01-04 23:32:33 +00:00
James Dinsdale 83103bdbd0 Add contains and does_not_contain assertion methods 2017-07-12 12:49:19 +01:00
James Dinsdale 31efe8bffa Rename tests with incorrect extension 2017-07-12 12:49:19 +01:00
Michael Aquilina a37ecdb1ba Allow optional space in shebang 2017-07-12 12:49:19 +01:00
James Dinsdale 598f46e22c Add new integer assertion methods
* `is_positive`
* `is_negative`
* `is_greater_than`
* `is_less_than`
2017-07-10 19:12:14 +01:00
James Dinsdale fff5f15b1b Rename substring tests for consistency 2017-07-10 19:12:14 +01:00
Michael Aquilina 0e6eaa9519 Add substring assertion functions (#64)
* Add is_substring_of assert function

* Add is_not_substring_of
2017-07-10 19:12:14 +01:00
James Dinsdale 8459ca1b58
Add is_writable and is_executable assertion methods 2017-02-22 22:10:59 +00:00
James Dinsdale 9f37f2ffeb
Add is_value_in and is_not_value_in assertion methods 2017-02-22 22:10:59 +00:00
James Dinsdale a43bf8b5a9
Add tests for is_key_in and is_not_key_in assertion methods 2017-02-22 22:10:58 +00:00
James Dinsdale 0febd1e4b3
Fix handling of arrays in assertions 2017-01-27 09:40:15 +00:00
James Dinsdale 2980a139f4
Remove use of (@z) array flag, which is unsupported in ZSH 5.0
Fixes #7
2016-12-21 20:51:20 +00:00
James Dinsdale 4b4d8715f7
Separate assertion tests into their own files 2016-12-21 20:01:54 +00:00