Skip to content

Commit

Permalink
Fix failing test on the other browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoran Brondsema committed May 11, 2016
1 parent 0e4803f commit de1d869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/editor-selections-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test('when editing is disabled, the selection detection code is disabled', (asse

assert.equal(editor.activeSections.length, 0, 'no selection inside the editor');
// Edge and IE11 do not introduce newlines
assert.equal(Helpers.dom.getSelectedText().replace('\n', ''), "trick ponyoutside");
assert.equal(Helpers.dom.getSelectedText().replace(/\n/g, ''), "trick ponyoutside");
});

test('selecting an entire section and deleting removes it', (assert) => {
Expand Down

0 comments on commit de1d869

Please sign in to comment.