Projects
openEuler:24.03:SP1:Everything
nodejs-should-format
_service:tar_scm:0001-Fix-tests-for-Node.js-6.5...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Fix-tests-for-Node.js-6.5.patch of Package nodejs-should-format
From 004b6f092c96696dde28027553dc3d6c6e1e894e Mon Sep 17 00:00:00 2001 Date: Tue, 6 Dec 2016 12:30:04 -0500 Subject: [PATCH] Fix tests for Node.js 6.5+ --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index ab2708a34eddef5b7f2091a0f3d6c91974c15b7c..239589ef5a2ceef2224a9bcab951350bac3e70ba 100644 --- a/tests/test.js +++ b/tests/test.js @@ -69,11 +69,11 @@ function fff() { } it('should format function', function() { var f = function() { }; - assert.equal(format(f), 'Function { name: \'\' }'); + assert.equal(format(f), 'Function { name: \'f\' }'); assert.equal(format(fff), 'Function { name: \'fff\' }'); //TODO add test for arrow function }); -- 2.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2