   end
 
   if windows?() do
-    test "relative win" do
-      assert Path.relative("C:/usr/local/bin")    == "usr/local/bin"
-      assert Path.relative("C:\\usr\\local\\bin") == "usr\\local\\bin"
-      assert Path.relative("C:usr\\local\\bin")   == "usr\\local\\bin"
-
-      assert Path.relative("/usr/local/bin")   == "usr/local/bin"
-      assert Path.relative("usr/local/bin")    == "usr/local/bin"
-      assert Path.relative("../usr/local/bin") == "../usr/local/bin"
-
-      assert Path.relative_to("D:/usr/local/foo", "D:/usr/") == "local/foo"
-      assert Path.relative_to("D:/usr/local/foo", "d:/usr/") == "local/foo"
-      assert Path.relative_to("d:/usr/local/foo", "D:/usr/") == "local/foo"
-      assert Path.relative_to("D:/usr/local/foo", "d:/") == "usr/local/foo"
-      assert Path.relative_to("D:/usr/local/foo", "D:/") == "usr/local/foo"
-      assert Path.relative_to("D:/usr/local/foo", "d:") == "D:/usr/local/foo"
-      assert Path.relative_to("D:/usr/local/foo", "D:") == "D:/usr/local/foo"
-    end
-
-    test "type win" do
-      assert Path.type("C:/usr/local/bin")    == :absolute
-      assert Path.type('C:\\usr\\local\\bin') == :absolute
-      assert Path.type("C:usr\\local\\bin")   == :volumerelative
-
-      assert Path.type("/usr/local/bin")   == :volumerelative
-      assert Path.type('usr/local/bin')    == :relative
-      assert Path.type("../usr/local/bin") == :relative
-    end
-
-    test "split win" do
-      assert Path.split("C:\\foo\\bar") == ["c:/", "foo", "bar"]
-      assert Path.split("C:/foo/bar") == ["c:/", "foo", "bar"]
+    describe "Windows" do
+      test "relative/1" do
+        assert Path.relative("C:/usr/local/bin") == "usr/local/bin"
+        assert Path.relative("C:\\usr\\local\\bin") == "usr\\local\\bin"
+        assert Path.relative("C:usr\\local\\bin") == "usr\\local\\bin"
+
+        assert Path.relative("/usr/local/bin") == "usr/local/bin"
+        assert Path.relative("usr/local/bin") == "usr/local/bin"
+        assert Path.relative("../usr/local/bin") == "../usr/local/bin"
+      end
+
+      test "relative_to/2" do
+        assert Path.relative_to("D:/usr/local/foo", "D:/usr/") == "local/foo"
+        assert Path.relative_to("D:/usr/local/foo", "d:/usr/") == "local/foo"
+        assert Path.relative_to("d:/usr/local/foo", "D:/usr/") == "local/foo"
+        assert Path.relative_to("D:/usr/local/foo", "d:/") == "usr/local/foo"
+        assert Path.relative_to("D:/usr/local/foo", "D:/") == "usr/local/foo"
+        assert Path.relative_to("D:/usr/local/foo", "d:") == "D:/usr/local/foo"
+        assert Path.relative_to("D:/usr/local/foo", "D:") == "D:/usr/local/foo"
+      end
+
+      test "type/1" do
+        assert Path.type("C:/usr/local/bin") == :absolute
+        assert Path.type('C:\\usr\\local\\bin') == :absolute
+        assert Path.type("C:usr\\local\\bin") == :volumerelative
+
+        assert Path.type("/usr/local/bin") == :volumerelative
+        assert Path.type('usr/local/bin') == :relative
+        assert Path.type("../usr/local/bin") == :relative
+      end
+
+      test "split/1" do
+        assert Path.split("C:\\foo\\bar") == ["c:/", "foo", "bar"]
+        assert Path.split("C:/foo/bar") == ["c:/", "foo", "bar"]
+      end
     end
   else
-    test "relative Unix" do
-      assert Path.relative("/usr/local/bin")   == "usr/local/bin"
-      assert Path.relative("usr/local/bin")    == "usr/local/bin"
-      assert Path.relative("../usr/local/bin") == "../usr/local/bin"
-      assert Path.relative("/") == "."
-      assert Path.relative('/') == "."
-      assert Path.relative(['/usr', ?/, "local/bin"]) == "usr/local/bin"
+    describe "Unix" do
+      test "relative/1" do
+        assert Path.relative("/usr/local/bin") == "usr/local/bin"
+        assert Path.relative("usr/local/bin") == "usr/local/bin"
+        assert Path.relative("../usr/local/bin") == "../usr/local/bin"
+        assert Path.relative("/") == "."
+        assert Path.relative('/') == "."
+        assert Path.relative(['/usr', ?/, "local/bin"]) == "usr/local/bin"
+      end
+
+      test "type/1" do
+        assert Path.type("/usr/local/bin") == :absolute
+        assert Path.type("usr/local/bin") == :relative
+        assert Path.type("../usr/local/bin") == :relative
+
+        assert Path.type('/usr/local/bin') == :absolute
+        assert Path.type('usr/local/bin') == :relative
+        assert Path.type('../usr/local/bin') == :relative
+
+        assert Path.type(['/usr/', 'local/bin']) == :absolute
+        assert Path.type(['usr/', 'local/bin']) == :relative
+        assert Path.type(['../usr', '/local/bin']) == :relative
+      end
     end
-
-    test "type Unix" do
-      assert Path.type("/usr/local/bin")   == :absolute
-      assert Path.type("usr/local/bin")    == :relative
-      assert Path.type("../usr/local/bin") == :relative
-
-      assert Path.type('/usr/local/bin')   == :absolute
-      assert Path.type('usr/local/bin')    == :relative
-      assert Path.type('../usr/local/bin') == :relative
-
-      assert Path.type(['/usr/', 'local/bin'])   == :absolute
-      assert Path.type(['usr/', 'local/bin'])    == :relative
-      assert Path.type(['../usr', '/local/bin']) == :relative
-    end
-  end
-
-  test "relative to cwd" do
+  end
+
+  test "relative_to_cwd/1" do
     assert Path.relative_to_cwd(__ENV__.file) ==
            Path.relative_to(__ENV__.file, System.cwd!)
 

    assert Path.expand("~file") == Path.join(System.cwd!, "file")
  end

  test "expand path" do
    assert (Path.expand("/") |> strip_drive_letter_if_windows) == "/"
    assert (Path.expand("/foo/../..") |> strip_drive_letter_if_windows) == "/"
    assert (Path.expand("/foo") |> strip_drive_letter_if_windows) == "/foo"

    assert Path.expand("bar/../bar", "foo") == Path.expand("foo/bar")
  end

  test "relative_to/2" do
    assert Path.relative_to("/usr/local/foo", "/usr/local") == "foo"
    assert Path.relative_to("/usr/local/foo", "/") == "usr/local/foo"
    assert Path.relative_to("/usr/local/foo", "/etc") == "/usr/local/foo"
