aboutsummaryrefslogtreecommitdiff
path: root/test-org-link-edit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-14 18:15:42 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-14 18:15:42 -0500
commit2e0805f31aac5ce33127797967bf02a8e18d8655 (patch)
tree026fe14e632ed795601214c403f315a62b507326 /test-org-link-edit.el
parent4f40284b0d37d4b58fe725ff259417bde1578148 (diff)
downloadorg-link-edit-2e0805f31aac5ce33127797967bf02a8e18d8655.tar.gz
split-{first,last}-words: Use Org syntax table
Fix the test that should have caught this.
Diffstat (limited to 'test-org-link-edit.el')
-rw-r--r--test-org-link-edit.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/test-org-link-edit.el b/test-org-link-edit.el
index f7048b7..c6b3535 100644
--- a/test-org-link-edit.el
+++ b/test-org-link-edit.el
@@ -336,12 +336,13 @@ website is"
(org-link-edit-forward-barf-word 1)
(org-link-edit-forward-slurp-word 1)
(buffer-string))))
- (string= "Here is \[\[http://orgmode.org/\]\[Org's\]\] website"
- (org-test-with-temp-text
- "Here is <point>\[\[http://orgmode.org/\]\[Org's\]\] website"
- (org-link-edit-forward-slurp-word 1)
- (org-link-edit-forward-barf-word 1)
- (buffer-string)))
+ (should
+ (string= "Here is \[\[http://orgmode.org/\]\] Org's website"
+ (org-test-with-temp-text
+ "Here is <point>\[\[http://orgmode.org/\]\] Org's website"
+ (org-link-edit-forward-slurp-word 1)
+ (org-link-edit-forward-barf-word 1)
+ (buffer-string))))
(should
(string= "Here is \[\[http://orgmode.org/\]\[Org's\]\] website"
(org-test-with-temp-text