Browse Source

Show text diffs for failed tests

pull/41/head
Vitaly Puzrin 10 years ago
parent
commit
e8994dbbd7
  1. 2
      Makefile
  2. 3
      package.json
  3. 2
      test/misc.js
  4. 1
      test/mocha.opts
  5. 2
      test/ruler.js
  6. 2
      test/utils.js

2
Makefile

@ -51,7 +51,7 @@ lint:
eslint --reset .
test: lint
mocha -R spec
mocha
echo "CommonMark stat:\n"
./support/specsplit.js test/fixtures/commonmark/spec.txt

3
package.json

@ -31,6 +31,7 @@
"autoprefixer-stylus": "~0.4.0",
"benchmark": "~1.0.0",
"browserify": "*",
"chai": "~1.10.0",
"commonmark": "~ 0.15.0",
"coveralls": "~2.11.2",
"eslint": "0.11.0",
@ -45,7 +46,7 @@
"markdown-it-mark": "~ 0.1.0",
"markdown-it-sub": "~ 0.1.0",
"markdown-it-sup": "~ 0.1.0",
"markdown-it-testgen": "~ 0.1.0",
"markdown-it-testgen": "~ 0.1.3",
"marked": "0.3.2",
"stylus": "~0.49.3",
"mocha": "*",

2
test/misc.js

@ -1,7 +1,7 @@
'use strict';
var assert = require('assert');
var assert = require('chai').assert;
var markdownit = require('../');

1
test/mocha.opts

@ -0,0 +1 @@
-R spec --inline-diffs

2
test/ruler.js

@ -1,7 +1,7 @@
'use strict';
var assert = require('assert');
var assert = require('chai').assert;
var Ruler = require('../lib/ruler');
describe('Ruler', function () {

2
test/utils.js

@ -1,7 +1,7 @@
'use strict';
var assert = require('assert');
var assert = require('chai').assert;
describe('Utils', function () {

Loading…
Cancel
Save