From 33c6a2d34153a58d86b5ed0fe86444081c9a9c24 Mon Sep 17 00:00:00 2001
From: Sam Saffron
Date: Thu, 18 Sep 2014 15:26:45 +1000
Subject: [PATCH] correct tests
---
test/javascripts/lib/markdown-test.js.es6 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/javascripts/lib/markdown-test.js.es6 b/test/javascripts/lib/markdown-test.js.es6
index a07d3b07753..868300c71ec 100644
--- a/test/javascripts/lib/markdown-test.js.es6
+++ b/test/javascripts/lib/markdown-test.js.es6
@@ -340,10 +340,12 @@ test("Code Blocks", function() {
"hello
world
\n\nline 1\n\nline 2\n\n\nline3
",
"it maintains new lines inside a code block with leading content.");
- cooked("```text\n\n```",
- "<header>hello</header>
",
+ cooked("```ruby\n\n```",
+ "<header>hello</header>
",
"it escapes code in the code block");
+ cooked("```text\ntext\n```", "text
", "handles text without adding class");
+
cooked("```ruby\n# cool\n```",
"# cool
",
"it supports changing the language");