summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-10-29 21:54:04 +0000
committerGo MAEDA <maeda@farend.jp>2019-10-29 21:54:04 +0000
commit19990751a542a68aa183730ae63cc9495958eb86 (patch)
tree89d5f8482ebf77f883ae004367347af5257b6622 /test
parentfbaaa412ea77aab4efc7585f1973c6872971ee8a (diff)
downloadredmine-19990751a542a68aa183730ae63cc9495958eb86.tar.gz
redmine-19990751a542a68aa183730ae63cc9495958eb86.zip
Eases the regexp used to determine the start of a code block (#32359).
Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18880 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
index 23d785901..be667c890 100644
--- a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
@@ -142,6 +142,11 @@ EXPECTED
Morbi facilisis accumsan orci non pharetra.
+ ~~~ ruby
+ def foo
+ end
+ ~~~
+
```
Pre Content: