Exception: Tuile::Testing::AssertionError
- Inherits:
-
Exception
- Object
- Exception
- Tuile::Testing::AssertionError
- Defined in:
- lib/tuile/testing.rb,
sig/tuile.rbs
Overview
Raised by every lookup and every gesture that does not hold: the match count is not the one asked for, or a gesture was handed a component no user could have operated.
Not a Error, which is production's. It descends from
Exception rather than StandardError for the reason
Minitest::Assertion does: a stray rescue must not swallow a failed
assertion. Tuile defines its own because the gem depends on no test
framework.