       ---
       """
 
-      {:ok, {map, _}} = parse_header(data, @options)
+      {:ok, {map, %{}, _}} = parse_header(data, @options)
 
       assert {{2019, 1, 1}, {0, 0, 0}} == Timex.to_erl(map.my_date1)
       assert {{2019, 1, 1}, {12, 34, 56}} == Timex.to_erl(map.my_date2)

      strs = ["lorem", "ipsum", "dolor", "sit"]
      ints = [10, 20, 30, 40, 50]

      assert {:ok, {%{my_strs: ^strs, my_ints: ^ints, my_dates: dates}, _}} =
               parse_header(data, @options)

      assert [{{2019, 1, 1}, {0, 0, 0}}, {{2019, 1, 1}, {12, 34, 56}}] ==

        my_int: 42
      }

      assert {:ok, {^expected, %{}, _}} = parse_header(data, @options)
    end

    test "fails when no header is found" do
