You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_kramdown_list.rb
    path of file: ./repos/jekyll-toc/test
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'test_helper'

class TestKramdownL
    
  def test_kramdown_list_l1_l3_l1
    text = <<~MARKDOWN
      * level-1
          * level-3
        * level-2
      * level-1
    MARKDOWN
    expected = <<~HTML
      <ul>
        <li>level-1
          <ul>
            <li>level-3</li>
            <li>level-2</li>
          </ul>
        </li>
        <li>level-1</li>
      </ul>
    HTML
    actual = Kramdown::Document.new(text).to_html

    assert_equal(expected, actual)
  end