summaryrefslogtreecommitdiff
path: root/test/clarktown/matchers/fenced_code_block_test.clj
blob: 5961c6d4a7a0047c191b764b28b4dd58ab47c71a (plain)
1
2
3
4
5
6
7
8
9
10
(ns clarktown.matchers.fenced-code-block-test
  (:require
    [clojure.test :refer [deftest testing is]]
    [clarktown.matchers.fenced-code-block :as code-block]))


(deftest fenced-code-block-matcher-test
  (testing "Checking a fenced code block"
    (is (true? (code-block/match? "```\nblabla```")))
    (is (true? (code-block/match? "```language-spec\nblabla```")))))