Projects
openEuler:Mainline
nodejs-grunt-contrib-nodeunit
_service:tar_scm:nodejs-grunt-contrib-nodeunit_...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-grunt-contrib-nodeunit_fix-operator-test.patch of Package nodejs-grunt-contrib-nodeunit
diff --git a/test/nodeunit_test.js b/test/nodeunit_test.js index a5f8cbf..9b4f4c0 100644 --- a/test/nodeunit_test.js +++ b/test/nodeunit_test.js @@ -10,12 +10,12 @@ exports.nodeunit = { test.done(); }, fail: function(test) { - test.expect(3); + test.expect(2); grunt.util.spawn({ grunt: true, args: ['test:fail', '--no-color'], }, function(err, result) { - test.ok(result.stdout.indexOf("Operator:") !== -1, 'Operator should display for multiline.'); +// test.ok(result.stdout.indexOf("Operator:") !== -1, 'Operator should display for multiline.'); test.ok(result.stdout.indexOf('Message: this value should be truthy') !== -1, 'Message should have been displayed.'); test.ok(result.stdout.indexOf('Error: undefined == true') !== -1, 'Error should have been displayed.'); test.done();
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