Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 50ab06f

Browse files
authored
Merge pull request #716 from ldapjs/dependabot/npm_and_yarn/tap-15.0.1
2 parents 1570e04 + 2a4af7a commit 50ab06f

16 files changed

+409
-401
lines changed

.taprc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
esm: false
2-
jsx: false
3-
ts: false
1+
check-coverage: false
42

53
files:
64
- 'test/**/*.test.js'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"highlight.js": "^10.6.0",
3838
"husky": "^4.2.5",
3939
"marked": "^2.0.0",
40-
"tap": "14.11.0"
40+
"tap": "15.0.1"
4141
},
4242
"scripts": {
4343
"test": "tap --no-cov",

test/change.test.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ test('apply - replace', function (t) {
154154

155155
// plain
156156
res = Change.apply(single, { cn: ['old'] })
157-
t.deepEqual(res.cn, ['new'])
157+
t.same(res.cn, ['new'])
158158

159159
// multiple
160160
res = Change.apply(single, { cn: ['old', 'also'] })
161-
t.deepEqual(res.cn, ['new'])
161+
t.same(res.cn, ['new'])
162162

163163
// empty
164164
res = Change.apply(empty, { cn: ['existing'] })
@@ -167,15 +167,15 @@ test('apply - replace', function (t) {
167167

168168
// absent
169169
res = Change.apply(single, { dn: ['otherjunk'] })
170-
t.deepEqual(res.cn, ['new'])
170+
t.same(res.cn, ['new'])
171171

172172
// scalar formatting "success"
173173
res = Change.apply(single, { cn: 'old' }, true)
174174
t.equal(res.cn, 'new')
175175

176176
// scalar formatting "failure"
177177
res = Change.apply(twin, { cn: 'old' }, true)
178-
t.deepEqual(res.cn, ['new', 'two'])
178+
t.same(res.cn, ['new', 'two'])
179179

180180
t.end()
181181
})
@@ -192,27 +192,27 @@ test('apply - add', function (t) {
192192

193193
// plain
194194
res = Change.apply(single, { cn: ['old'] })
195-
t.deepEqual(res.cn, ['old', 'new'])
195+
t.same(res.cn, ['old', 'new'])
196196

197197
// multiple
198198
res = Change.apply(single, { cn: ['old', 'also'] })
199-
t.deepEqual(res.cn, ['old', 'also', 'new'])
199+
t.same(res.cn, ['old', 'also', 'new'])
200200

201201
// absent
202202
res = Change.apply(single, { dn: ['otherjunk'] })
203-
t.deepEqual(res.cn, ['new'])
203+
t.same(res.cn, ['new'])
204204

205205
// scalar formatting "success"
206206
res = Change.apply(single, { }, true)
207207
t.equal(res.cn, 'new')
208208

209209
// scalar formatting "failure"
210210
res = Change.apply(single, { cn: 'old' }, true)
211-
t.deepEqual(res.cn, ['old', 'new'])
211+
t.same(res.cn, ['old', 'new'])
212212

213213
// duplicate add
214214
res = Change.apply(single, { cn: 'new' })
215-
t.deepEqual(res.cn, ['new'])
215+
t.same(res.cn, ['new'])
216216

217217
t.end()
218218
})
@@ -229,7 +229,7 @@ test('apply - delete', function (t) {
229229

230230
// plain
231231
res = Change.apply(single, { cn: ['old', 'new'] })
232-
t.deepEqual(res.cn, ['new'])
232+
t.same(res.cn, ['new'])
233233

234234
// empty
235235
res = Change.apply(single, { cn: ['old'] })
@@ -242,7 +242,7 @@ test('apply - delete', function (t) {
242242

243243
// scalar formatting "failure"
244244
res = Change.apply(single, { cn: ['old', 'several', 'items'] }, true)
245-
t.deepEqual(res.cn, ['several', 'items'])
245+
t.same(res.cn, ['several', 'items'])
246246

247247
// absent
248248
res = Change.apply(single, { dn: ['otherjunk'] })

0 commit comments

Comments
 (0)