fix in browser tests
This commit is contained in:
parent
245b27a4f7
commit
e3000ae39d
2 changed files with 5 additions and 6 deletions
|
|
@ -420,7 +420,7 @@ module.exports = {
|
||||||
|
|
||||||
var editor = new Editor(new MockRenderer(), session);
|
var editor = new Editor(new MockRenderer(), session);
|
||||||
editor.moveCursorTo(1, 1);
|
editor.moveCursorTo(1, 1);
|
||||||
editor.removeLeft();
|
editor.remove("left");
|
||||||
assert.equal(session.toString(), "123\n56");
|
assert.equal(session.toString(), "123\n56");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -429,7 +429,7 @@ module.exports = {
|
||||||
|
|
||||||
var editor = new Editor(new MockRenderer(), session);
|
var editor = new Editor(new MockRenderer(), session);
|
||||||
editor.moveCursorTo(1, 0);
|
editor.moveCursorTo(1, 0);
|
||||||
editor.removeLeft();
|
editor.remove("left");
|
||||||
assert.equal(session.toString(), "123456");
|
assert.equal(session.toString(), "123456");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -440,7 +440,7 @@ module.exports = {
|
||||||
|
|
||||||
var editor = new Editor(new MockRenderer(), session);
|
var editor = new Editor(new MockRenderer(), session);
|
||||||
editor.moveCursorTo(1, 8);
|
editor.moveCursorTo(1, 8);
|
||||||
editor.removeLeft();
|
editor.remove("left");
|
||||||
assert.equal(session.toString(), "123\n 456");
|
assert.equal(session.toString(), "123\n 456");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,7 @@
|
||||||
var require = {
|
var require = {
|
||||||
paths: {
|
paths: {
|
||||||
ace: "../",
|
ace: "../",
|
||||||
cockpit: "../../../../support/cockpit/lib/cockpit",
|
pilot: "../../../support/pilot/lib/pilot"
|
||||||
pilot: "../../../../support/pilot/lib/pilot"
|
|
||||||
},
|
},
|
||||||
packages : [{
|
packages : [{
|
||||||
name: "asyncjs",
|
name: "asyncjs",
|
||||||
|
|
@ -41,7 +40,7 @@
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<script src="../../../demo/require.js" data-main="all_browser" type="text/javascript" charset="utf-8"></script>
|
<script src="../../../demo/kitchen-sink/require.js" data-main="all_browser" type="text/javascript" charset="utf-8"></script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue