@@ -10,17 +10,17 @@ it('forbids tabs and newlines', function () {
1010} )
1111
1212it ( 'allows many spaces' , function ( ) {
13- assert . deepEqual (
13+ assert . deepStrictEqual (
1414 p ( ' MIT' ) ,
1515 { license : 'MIT' }
1616 )
1717
18- assert . deepEqual (
18+ assert . deepStrictEqual (
1919 p ( 'MIT ' ) ,
2020 { license : 'MIT' }
2121 )
2222
23- assert . deepEqual (
23+ assert . deepStrictEqual (
2424 p ( 'MIT AND BSD-3-Clause' ) ,
2525 {
2626 left : { license : 'MIT' } ,
@@ -38,20 +38,20 @@ it('forbids spaces between a license-id and a following `+`', function () {
3838} )
3939
4040it ( 'parses DocumentRefs and LicenseRefs' , function ( ) {
41- assert . deepEqual (
41+ assert . deepStrictEqual (
4242 p ( 'LicenseRef-something' ) ,
4343 { license : 'LicenseRef-something' }
4444 )
4545
46- assert . deepEqual (
46+ assert . deepStrictEqual (
4747 p ( 'DocumentRef-spdx-tool-1.2 : LicenseRef-MIT-Style-2' ) ,
4848 { license : 'DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2' }
4949 )
5050} )
5151
5252// See the note in `parser.js`.
5353it ( 'parses `AND`, `OR` and `WITH` with the correct precedence' , function ( ) {
54- assert . deepEqual (
54+ assert . deepStrictEqual (
5555 p ( 'MIT AND BSD-3-Clause AND CC-BY-4.0' ) ,
5656 {
5757 left : { license : 'MIT' } ,
@@ -64,7 +64,7 @@ it('parses `AND`, `OR` and `WITH` with the correct precedence', function () {
6464 }
6565 )
6666
67- assert . deepEqual (
67+ assert . deepStrictEqual (
6868 p ( 'MIT AND BSD-3-Clause WITH GCC-exception-3.1 OR CC-BY-4.0 AND Apache-2.0' ) ,
6969 {
7070 left : {
0 commit comments