8000 Show all diff hunks · MagicStack/syntaxdev@ee60bf1 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee60bf1

Browse files
committed
Show all diff hunks
1 parent 6e6b131 commit ee60bf1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,11 @@ function testFile(file, grammar, options) {
106106
result.push(line);
107107
}
108108

109-
return result.join('\n');
109+
result.push('@@@@@@')
110110
}
111+
112+
result.pop();
113+
return result.join('\n');
111114
}
112115

113116
var buf = fs.readFileSync(file, 'utf8'),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "syntaxtest",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Unit testing framework for TextMate/Sublime/Atom syntaxes.",
55
"main": "index.js",
66
"author": "Yury Selivanov <yury@magic.io>",

0 commit comments

Comments
 (0)
0