コード例 #1
0
    def testConvertToGeeknoteTableHeader(self):
        source = ["|------+----+------|"]
        target = ["---|---|---"]

        result = enmlOutput.convertToGeeknoteTable(source)

        self.assertEqual(result, target)
コード例 #2
0
    def testConvertToGeeknoteTable(self):
        source = ["| Title | test | last |"]
        target = ["Title | test | last"]

        result = enmlOutput.convertToGeeknoteTable(source)

        self.assertEqual(result, target)