should-equal

WebJar for should-equal

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

should-equal
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

should-equal
WebJar for should-equal
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/shouldjs/equal

Download should-equal

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/should-equal/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>should-equal</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/should-equal/
implementation 'org.webjars.npm:should-equal:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/should-equal/
implementation ("org.webjars.npm:should-equal:2.0.0")
'org.webjars.npm:should-equal:jar:2.0.0'
<dependency org="org.webjars.npm" name="should-equal" rev="2.0.0">
  <artifact name="should-equal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='should-equal', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "should-equal" % "2.0.0"
[org.webjars.npm/should-equal "2.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : should-type jar [1.4.0,2)

Project Modules

There are no modules declared in this project.

equal

Build Status

Deep equality comparison implementation for should.js. Not supported outside of should.js

Function returns an array of failed equality checks if array is empty it means objects are equal:

> var eq = require('.');
undefined
> var a = {a:1,b:2,c:3,d:4,e:5,f:6,g:7,h:8,i:9,j:10},
... b = {a:1,b:2,c:3,d:4,e:5,f:6,g:7,h:7,i:9,j:10};
undefined
> eq(a, b)
[ EqualityFail {
    a: 8,
    b: 7,
    reason: 'A is not equal to B',
    path: [ 'h' ],
    showReason: false } ]
>  
org.webjars.npm

Should.js assertion library

BDD style assertions for node.js and browser

Versions

Version
2.0.0