Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 3929-3929 (lines=1) @@
3926
 * @param content
3927
 * @return {string}
3928
 */
3929
function tag (name, attrs, close, content) {
3930
  var end = close ? '/>' : '>';
3931
  var pairs = [];
3932
  var tag;

node_modules/mocha/lib/reporters/xunit.js 1 location

@@ 167-167 (lines=1) @@
164
 * @param content
165
 * @return {string}
166
 */
167
function tag (name, attrs, close, content) {
168
  var end = close ? '/>' : '>';
169
  var pairs = [];
170
  var tag;