Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

util: handle escaped forward slashes correctly #6841

Closed
wants to merge 1 commit into from
Closed

util: handle escaped forward slashes correctly #6841

wants to merge 1 commit into from

Conversation

tomgco
Copy link

@tomgco tomgco commented Jan 10, 2014

Fixes #6835

@indutny
Copy link
Member

indutny commented Jan 10, 2014

LGTM

var y = ['a', 'b', 'c'];
y['\\\\\\'] = 'd';

assert.ok(util.inspect(w), '{ \'\\\': 1, \'\\\\\': 2, \'\\\\\\\': 3, \'\\\\\\\\\': 4 }');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor style nit, but can't land before it. Please use 80 column limit here.

@indutny
Copy link
Member

indutny commented Jan 10, 2014

Landed with very minor style fix in 38a07a9

@indutny indutny closed this Jan 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants