lamed_test
Version:
Mocha unit testing made easy
17 lines (13 loc) • 692 B
Markdown
# Function Equal (result, stringValue, format, trim, lineBr)
>**Equal**(result, stringValue, format, trim, lineBr)
- Compare huge strings
- **Return {boolean}** - True if the items and the compare values are the same
- See [Functions](../functions.md)
## Parameters
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**result** |string / array / number | |The expected result |
**stringValue** |string / array / number | |The string value to compare against |
**format** |int |-1 |The format level; Default = -1 |
**trim** |bool |false |If true -> trim the line before compare. Default is true |
**lineBr** |string |'\n' |The line break character. Default is '\ n' |