summaryrefslogtreecommitdiff
path: root/test/paths_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-01-10 23:54:33 -0700
committerDan Allen <dan.j.allen@gmail.com>2022-01-11 00:07:18 -0700
commitadb05b911bde360dd390ff7e72977fda9d50430a (patch)
tree633439ae78a6c47b7faf1b51fc5fb9da419fdf39 /test/paths_test.rb
parented608c61d061cd8bbdd24e6d83d6793ce5f2edb6 (diff)
don't overqualify types in test suite
Diffstat (limited to 'test/paths_test.rb')
-rw-r--r--test/paths_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/paths_test.rb b/test/paths_test.rb
index 70740e28..a3a68daf 100644
--- a/test/paths_test.rb
+++ b/test/paths_test.rb
@@ -351,7 +351,7 @@ context 'Path Resolver' do
test 'should resolve relative path relative to base dir in unsafe mode' do
base_dir = fixture_path 'base'
doc = empty_document base_dir: base_dir, safe: Asciidoctor::SafeMode::UNSAFE
- expected = ::File.join base_dir, 'images', 'tiger.png'
+ expected = File.join base_dir, 'images', 'tiger.png'
actual = doc.normalize_system_path 'tiger.png', 'images'
assert_equal expected, actual
end