Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 046f04f

Browse files
use strictEqual over equal
1 parent 4f5886d commit 046f04f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/github-package.test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe.only('GithubPackage', function() {
180180

181181
it('uses the project\'s context', function() {
182182
assert.isTrue(context.isPresent());
183-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath);
183+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath);
184184
assert.strictEqual(context.getRepository(), githubPackage.getActiveRepository());
185185
assert.strictEqual(context.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
186186
});
@@ -228,7 +228,7 @@ describe.only('GithubPackage', function() {
228228
assert.isTrue(context2.isPresent());
229229
assert.strictEqual(context2.getRepository(), githubPackage.getActiveRepository());
230230
assert.strictEqual(context2.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
231-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath2);
231+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath2);
232232
});
233233
});
234234

@@ -252,7 +252,7 @@ describe.only('GithubPackage', function() {
252252
assert.isTrue(context.isPresent());
253253
assert.strictEqual(context.getRepository(), githubPackage.getActiveRepository());
254254
assert.strictEqual(context.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
255-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath2);
255+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath2);
256256
});
257257
});
258258

@@ -276,7 +276,7 @@ describe.only('GithubPackage', function() {
276276
assert.isTrue(context2.isPresent());
277277
assert.strictEqual(context2.getRepository(), githubPackage.getActiveRepository());
278278
assert.strictEqual(context2.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
279-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath2);
279+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath2);
280280
});
281281
});
282282

@@ -297,7 +297,7 @@ describe.only('GithubPackage', function() {
297297

298298
it('uses the project\'s context', function() {
299299
assert.isTrue(context1.isPresent());
300-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath1);
300+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath1);
301301
assert.strictEqual(context1.getRepository(), githubPackage.getActiveRepository());
302302
assert.strictEqual(context1.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
303303
});
@@ -520,7 +520,7 @@ describe.only('GithubPackage', function() {
520520
});
521521

522522
it('has the correct number of remaining markers', function() {
523-
assert.equal(githubPackage.getActiveResolutionProgress().getRemaining('modified-on-both-ours.txt'), remainingMarkerCount);
523+
assert.strictEqual(githubPackage.getActiveResolutionProgress().getRemaining('modified-on-both-ours.txt'), remainingMarkerCount);
524524
});
525525
});
526526

@@ -574,7 +574,7 @@ describe.only('GithubPackage', function() {
574574
assert.isTrue(context2.isPresent());
575575
assert.strictEqual(context2.getRepository(), githubPackage.getActiveRepository());
576576
assert.strictEqual(context2.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
577-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath2);
577+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath2);
578578
});
579579
});
580580

@@ -595,7 +595,7 @@ describe.only('GithubPackage', function() {
595595

596596
it('uses the project\'s context', function() {
597597
assert.isTrue(context1.isPresent());
598-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath1);
598+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath1);
599599
assert.strictEqual(context1.getRepository(), githubPackage.getActiveRepository());
600600
assert.strictEqual(context1.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
601601
});
@@ -616,7 +616,7 @@ describe.only('GithubPackage', function() {
616616
});
617617

618618
it('uses the state\'s context', function() {
619-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath2);
619+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath2);
620620
});
621621
});
622622

@@ -686,7 +686,7 @@ describe.only('GithubPackage', function() {
686686
assert.isTrue(context1.isPresent());
687687
assert.strictEqual(context1.getRepository(), githubPackage.getActiveRepository());
688688
assert.strictEqual(context1.getResolutionProgress(), githubPackage.getActiveResolutionProgress());
689-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath1);
689+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath1);
690690
});
691691
});
692692

@@ -706,7 +706,7 @@ describe.only('GithubPackage', function() {
706706
});
707707

708708
it('uses the active context', function() {
709-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath1);
709+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath1);
710710
});
711711
});
712712

@@ -721,7 +721,7 @@ describe.only('GithubPackage', function() {
721721
});
722722

723723
it('uses the repository\'s project context', function() {
724-
assert.equal(githubPackage.getActiveWorkdir(), workdirPath);
724+
assert.strictEqual(githubPackage.getActiveWorkdir(), workdirPath);
725725
});
726726
});
727727

0 commit comments

Comments
 (0)