|
Last change
on this file since cdcff72 was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
255 bytes
|
| Line | |
|---|
| 1 | var test = require('tape');
|
|---|
| 2 | var inspect = require('../');
|
|---|
| 3 |
|
|---|
| 4 | var xs = ['a', 'b'];
|
|---|
| 5 | xs[5] = 'f';
|
|---|
| 6 | xs[7] = 'j';
|
|---|
| 7 | xs[8] = 'k';
|
|---|
| 8 |
|
|---|
| 9 | test('holes', function (t) {
|
|---|
| 10 | t.plan(1);
|
|---|
| 11 | t.equal(
|
|---|
| 12 | inspect(xs),
|
|---|
| 13 | "[ 'a', 'b', , , , 'f', , 'j', 'k' ]"
|
|---|
| 14 | );
|
|---|
| 15 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.