Skip to content

Commit

Permalink
Added case_sensitive? tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berger committed Dec 20, 2018
1 parent ef30034 commit cbcc8a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/test_sys_filesystem_unix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,13 @@ def test_stat_expected_errors
def test_stat_case_insensitive
expected = @@darwin ? true : false
assert_equal(expected, @stat.case_insensitive?)
assert_false(Filesystem.stat(Dir.home).case_insensitive?)
assert_equal(expected, Filesystem.stat(Dir.home).case_insensitive?)
end

def test_stat_case_sensitive
expected = @@darwin ? false : true
assert_equal(expected, @stat.case_sensitive?)
assert_equal(expected, Filesystem.stat(Dir.home).case_sensitive?)
end

def test_numeric_methods_basic
Expand Down

0 comments on commit cbcc8a9

Please sign in to comment.