Browse files

Add test case for issue #577

  • Loading branch information...
1 parent c9a9234 commit 852adee9f126edb48e66714ec82038b6f06b114e @marijnh marijnh committed Jun 18, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/test.js
View
7 test/test.js
@@ -279,6 +279,13 @@ testCM("bookmark", function(cm) {
});
});
+testCM("bug577", function(cm) {
+ cm.setValue("a\nb");
+ cm.clearHistory();
+ cm.setValue("fooooo");
+ cm.undo();
+});
+
// Scaffolding
function htmlEscape(str) {

0 comments on commit 852adee

Please sign in to comment.