File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -1643,29 +1643,29 @@ defmodule FileTest do
1643
1643
assert_raise File.Error , fn -> File . read_link! ( dest ) end
1644
1644
end
1645
1645
1646
- unless windows? ( ) do
1647
- test "read_link with symlink" do
1648
- target = tmp_path ( "does_not_need_to_exist" )
1649
- dest = tmp_path ( "symlink" )
1650
- File . ln_s ( target , dest )
1651
-
1652
- try do
1653
- assert File . read_link ( dest ) == { :ok , target }
1654
- after
1655
- File . rm ( dest )
1656
- end
1646
+ @ tag :unix
1647
+ test "read_link with symlink" do
1648
+ target = tmp_path ( "does_not_need_to_exist" )
1649
+ dest = tmp_path ( "symlink" )
1650
+ File . ln_s ( target , dest )
1651
+
1652
+ try do
1653
+ assert File . read_link ( dest ) == { :ok , target }
1654
+ after
1655
+ File . rm ( dest )
1657
1656
end
1657
+ end
1658
1658
1659
- test "read_link! with symlink" do
1660
- target = tmp_path ( "does_not_need_to_exist" )
1661
- dest = tmp_path ( "symlink" )
1662
- File . ln_s ( target , dest )
1659
+ @ tag :unix
1660
+ test "read_link! with symlink" do
1661
+ target = tmp_path ( "does_not_need_to_exist" )
1662
+ dest = tmp_path ( "symlink" )
1663
+ File . ln_s ( target , dest )
1663
1664
1664
- try do
1665
- assert File . read_link! ( dest ) == target
1666
- after
1667
- File . rm ( dest )
1668
- end
1665
+ try do
1666
+ assert File . read_link! ( dest ) == target
1667
+ after
1668
+ File . rm ( dest )
1669
1669
end
1670
1670
end
1671
1671
You can’t perform that action at this time.
0 commit comments