UNPKG

org.eclipse.n4js.mangelhaft.assert

Version:

An assert library used with the Mangelhaft testing framework.

17 lines (14 loc) 603 B
// Generated by N4JS transpiler; for copyright see original N4JS source file. import 'n4js-runtime' import {Assert} from '../assert/Assert.js' import {PreconditionNotMet} from './PreconditionNotMet.js' export class Precondition extends Assert { static fail_(actual, expected, message, operator, stackStartFunction) { let error = new PreconditionNotMet(message); throw error; } static get n4type() { return $getReflectionForClass(this, '["Precondition","org/eclipse/n4js/mangelhaft/precondition/Precondition","org.eclipse.n4js.mangelhaft.assert"]'); } } //# sourceMappingURL=Precondition.map