       %ExUnit.Test{tags: %{line: 5, describe_line: nil}},
       %ExUnit.Test{tags: %{line: 8, describe_line: 7}},
       %ExUnit.Test{tags: %{line: 10, describe_line: 7}},
-      %ExUnit.Test{tags: %{line: 13, describe_line: 12}},
+      %ExUnit.Test{tags: %{line: 13, describe_line: 12}}
     ]
 
     assert ExUnit.Filters.eval([line: "3"], [:line], %{line: 3, describe_line: 2}, tests) == :ok

Code.require_file "../test_helper.exs", __DIR__

defmodule ExUnit.FiltersTest do
  use ExUnit.Case, async: true

  end

  test "file paths with line numbers" do
    assert ExUnit.Filters.parse_path("test/some/path.exs:123") == {
             "test/some/path.exs",
             [exclude: [:test], include: [line: "123"]]
           }

    assert ExUnit.Filters.parse_path("test/some/path.exs") == {"test/some/path.exs", []}

    assert ExUnit.Filters.parse_path("test/some/path.exs:123notreallyalinenumber123") == {
             "test/some/path.exs:123notreallyalinenumber123",
             []
           }

    assert ExUnit.Filters.parse_path("C:\\some\\path.exs:123") == {
             "C:\\some\\path.exs",
             [exclude: [:test], include: [line: "123"]]
           }

    assert ExUnit.Filters.parse_path("C:\\some\\path.exs") == {"C:\\some\\path.exs", []}

    assert ExUnit.Filters.parse_path("C:\\some\\path.exs:123notreallyalinenumber123") == {
             "C:\\some\\path.exs:123notreallyalinenumber123",
             []
           }
  end
end
