@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
30 lines (29 loc) • 787 B
text/typescript
/**
* A string denoting the end of a line.
*/
declare const NEWLINE_MARKER = "\\n";
/**
* Character denoting the end of string.
*/
declare const EOS_MARKER = "\\0";
/**
* A pattern matching newline characters anywhere in a string.
*/
declare const NEWLINE_PATTERN: RegExp;
/**
* A pattern matching the end of a line or stream.
*/
declare const EOL_PATTERN: RegExp;
/**
* Indicates a character is equal in the actual and expected values.
*/
declare const DIFF_EQUAL = " ";
/**
* Indicates a character to delete from the actual value.
*/
declare const DIFF_DELETE = "-";
/**
* Indicates a character to insert into the actual value.
*/
declare const DIFF_INSERT = "+";
export { NEWLINE_MARKER, EOS_MARKER, NEWLINE_PATTERN, EOL_PATTERN, DIFF_EQUAL, DIFF_DELETE, DIFF_INSERT };