summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorBrian Mastenbrook <brian@mastenbrook.net>2016-04-06 11:40:15 -0500
committerBrian Mastenbrook <brian@mastenbrook.net>2016-04-06 11:40:15 -0500
commit917503bf51d936ee0868a377527ff88a8a7a2ac0 (patch)
tree758c8816b3e72d10b6f6d38408f2f0f8d4c4c31c /rust-mode-tests.el
parentc3feac1505609fe1a11388d126957257ae5facb2 (diff)
downloadrust-mode-917503bf51d936ee0868a377527ff88a8a7a2ac0.tar.gz
Fix failing tests, and add a test for the fix.
Diffstat (limited to 'rust-mode-tests.el')
-rw-r--r--rust-mode-tests.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 2c0431c..de3900c 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -164,6 +164,15 @@ Also, the result should be the same regardless of whether the code is at the beg
//
// This is the second really really really really really really long paragraph" 1 89))
+(ert-deftest fill-paragraph-multi-line-style-comment ()
+ (test-fill-paragraph
+ "/* This is a very very very very very very very very long string
+ */"
+ "/* This is a very very very very
+ * very very very very long
+ * string
+ */"))
+
(ert-deftest fill-paragraph-multi-line-style-inner-doc-comment ()
(test-fill-paragraph
"/*! This is a very very very very very very very long string