|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
268 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | var test = require('tape');
|
|---|
| 2 | var inspect = require('../');
|
|---|
| 3 |
|
|---|
| 4 | var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' };
|
|---|
| 5 |
|
|---|
| 6 | test('interpolate low bytes', function (t) {
|
|---|
| 7 | t.plan(1);
|
|---|
| 8 | t.equal(
|
|---|
| 9 | inspect(obj),
|
|---|
| 10 | "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }"
|
|---|
| 11 | );
|
|---|
| 12 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.