diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-10 19:18:48 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-10 19:21:47 +0900 |
| commit | c8d0470bb0888bcb6719ba536e5f3f6a8b6551bb (patch) | |
| tree | 98536f216cd90b7987629c95b8d2f03f2ec9a3e6 /test/ruby | |
| parent | 092c9b266ab3175c40a78e8af99bb82a0f3d2f4b (diff) | |
Use `File::NULL` instead of hard coded null device names
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8050
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index be6e1f2326..fbb18f07f9 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -1518,7 +1518,7 @@ class TestFileExhaustive < Test::Unit::TestCase stat = File.stat(f) unless stat.chardev? - # /dev/null may be accessed by other processes + # null device may be accessed by other processes assert_equal(stat.atime, File.atime(f), f) assert_equal(stat.ctime, File.ctime(f), f) assert_equal(stat.mtime, File.mtime(f), f) |
