The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-util-format.js @ 6f043940

History | View | Annotate | Download (2.96 KB)

# Date Author Comment
250782d1 04/25/2014 04:52 PM Rod Vagg

util: format as Error if instanceof Error

Conflicts:
lib/util.js
test/simple/test-util-format.js

This is a backport to fix #7253

Signed-off-by: Fedor Indutny <>

578ba76e 03/03/2012 12:22 PM ssuda

util: fix util.format() formatting of %%

850609ea 11/02/2011 07:38 PM Ryan Dahl

Remove separation of libuv tests

4e1d6fca 08/24/2011 02:45 AM Ryan Dahl

Mark tests which are broken in libuv

d439c092 08/08/2011 10:24 AM koichik

Improve util.format() compatibility with browser.

Fixes #1434.

d3d8f1b9 07/30/2011 10:56 AM koichik

Add %% escape to util.format()

Fixes #1273.

874260b4 07/29/2011 08:11 PM Ben Noordhuis

util: add sprintf-like format() function

Fixes #1407.