Resolve some CI failures.
This commit is contained in:
parent
dc87483936
commit
a4b27cbc3a
1 changed files with 5 additions and 5 deletions
|
|
@ -81,14 +81,14 @@ module.exports = {
|
||||||
this.textLayer.$renderLine(stringBuilder, 0, true);
|
this.textLayer.$renderLine(stringBuilder, 0, true);
|
||||||
assert.equal(
|
assert.equal(
|
||||||
stringBuilder.join(""),
|
stringBuilder.join(""),
|
||||||
"<span class='ace_cjk ace_invisible' style='width:20px'>" + this.textLayer.SPACE_CHAR + "</span>"
|
"<span class='ace_cjk ace_invisible ace_invisible_space' style='width:20px'>" + this.textLayer.SPACE_CHAR + "</span>"
|
||||||
+ "<span class='ace_invisible'>\xB6</span>"
|
+ "<span class='ace_invisible ace_invisible_eol'>\xB6</span>"
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
"test rendering of indent guides" : function() {
|
"test rendering of indent guides" : function() {
|
||||||
var textLayer = this.textLayer
|
var textLayer = this.textLayer
|
||||||
var EOL = "<span class='ace_invisible'>" + textLayer.EOL_CHAR + "</span>";
|
var EOL = "<span class='ace_invisible ace_invisible_eol'>" + textLayer.EOL_CHAR + "</span>";
|
||||||
var SPACE = function(i) {return Array(i+1).join("\xa0")}
|
var SPACE = function(i) {return Array(i+1).join("\xa0")}
|
||||||
var DOT = function(i) {return Array(i+1).join(textLayer.SPACE_CHAR)}
|
var DOT = function(i) {return Array(i+1).join(textLayer.SPACE_CHAR)}
|
||||||
var TAB = function(i) {return textLayer.TAB_CHAR + SPACE(i-1)}
|
var TAB = function(i) {return textLayer.TAB_CHAR + SPACE(i-1)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue