mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Separate Blob name and pathname
This commit is contained in:
@@ -30,7 +30,11 @@ class TestBlob < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_name
|
||||
assert_equal Pathname.new("foo.rb"), blob("foo.rb").name
|
||||
assert_equal "foo.rb", blob("foo.rb").name
|
||||
end
|
||||
|
||||
def test_pathname
|
||||
assert_equal Pathname.new("foo.rb"), blob("foo.rb").pathname
|
||||
end
|
||||
|
||||
def test_mime_type
|
||||
|
||||
Reference in New Issue
Block a user