Skip to content

Commit

Permalink
fix: recognize more generic 'Expected' headers
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Nov 13, 2017
1 parent f904515 commit 3f81383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LineWriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const REG_INTERNALS = /^(node_modules|internal)\//;
const REG_AT = /^\s*at/;
const REG_ERROR = /^\s*Error:\s*/;
const REG_RECEIVED = /^\s*Received:/;
const REG_EXPECTED = /^\s*Expected value to equal:/;
const REG_EXPECTED = /^\s*Expected value to[^:]+:/;
const REG_DIFFERENCE = /^\s*Difference:/;

const MDASH = '\u2014';
Expand Down

0 comments on commit 3f81383

Please sign in to comment.