1defmodule HelpersTest do
2  use ExUnit.Case
3
4  import Earmark.Helpers
5
6  test "expand_tab spaces only" do
7    assert expand_tabs("   ") == "   "
8  end
9
10  test "expand_tab tabs only" do
11    assert expand_tabs("\t\t") == "        "
12  end
13
14  test "expand_tab mixed" do
15    assert expand_tabs(" \t ") == "     "
16  end
17
18end
19
20# SPDX-License-Identifier: Apache-2.0
21