Skip to content

Commit b67bf6d

Browse files
committed
Update tests for logger
1 parent 7956df5 commit b67bf6d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/getDiffText.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('\'diffHtml\'', function () {
3939
removed: undefined
4040
} ],
4141

42-
out = '\n...\n' + 'texttexttexttexttext'.grey + '!'.green + 'Text'.grey + '!'.green + 'texttexttexttext'.grey;
42+
out = '\n...\n' + 'texttexttexttexttext'.grey + '!'.inverse.green + 'Text'.grey + '!'.inverse.green + 'texttexttexttext'.grey;
4343

4444
diffLoger.getDiffText(inp).must.be.eql(out);
4545
});
@@ -68,7 +68,7 @@ describe('\'diffHtml\'', function () {
6868
removed: true
6969
} ],
7070

71-
out = '\n' + 'texttexttexttexttexttexttexttexttexttexttext'.green + 'ololoololoololoololoololoololoololoololoolol'.red;
71+
out = '\n' + 'texttexttexttexttexttexttexttexttexttexttext'.inverse.green + 'ololoololoololoololoololoololoololoololoolol'.inverse.red;
7272

7373
diffLoger.getDiffText(inp).must.be.eql(out);
7474
});
@@ -89,7 +89,7 @@ describe('\'diffHtml\'', function () {
8989
removed: undefined
9090
} ],
9191

92-
out = '\n' + 'texttexttext'.grey + 'text'.red + 'texttexttexttext'.grey;
92+
out = '\n' + 'texttexttext'.grey + 'text'.inverse.red + 'texttexttexttext'.grey;
9393

9494
diffLoger.getDiffText(inp).must.be.eql(out);
9595
});
@@ -126,7 +126,7 @@ describe('\'diffHtml\'', function () {
126126
removed: undefined
127127
} ],
128128

129-
out = '\n...\n' + 'texttexttexttexttext'.grey + 'text'.red + 'texttexttexttexttext'.grey + '\n...\n' + 'texttexttexttexttext'.grey + '!'.green + 'text'.grey + '!'.green + 'texttexttexttexttext'.grey;
129+
out = '\n...\n' + 'texttexttexttexttext'.grey + 'text'.inverse.red + 'texttexttexttexttext'.grey + '\n...\n' + 'texttexttexttexttext'.grey + '!'.inverse.green + 'text'.grey + '!'.inverse.green + 'texttexttexttexttext'.grey;
130130

131131
diffLoger.getDiffText(inp).must.be.eql(out);
132132
});

0 commit comments

Comments
 (0)