| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a89eeca commit ee2e641
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -140,9 +140,7 @@ assert.throws(makeBlock(a.deepEqual, 'a', ['a']), a.AssertionError); | |||
| 140 | 140 | assert.throws(makeBlock(a.deepEqual, 'a', {0: 'a'}), a.AssertionError); | |
| 141 | 141 | assert.throws(makeBlock(a.deepEqual, 1, {}), a.AssertionError); | |
| 142 | 142 | assert.throws(makeBlock(a.deepEqual, true, {}), a.AssertionError); | |
| 143 | - if (typeof Symbol === 'symbol') { | ||
| 144 | - assert.throws(makeBlock(assert.deepEqual, Symbol(), {}), a.AssertionError); | ||
| 145 | - } | ||
| 143 | + assert.throws(makeBlock(a.deepEqual, Symbol(), {}), a.AssertionError); | ||
| 146 | 144 | ||
| 147 | 145 | // primitive wrappers and object | |
| 148 | 146 | assert.doesNotThrow(makeBlock(a.deepEqual, new String('a'), ['a']), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments