summaryrefslogtreecommitdiff
path: root/test/paths_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-12-13 00:27:48 -0700
committerGitHub <noreply@github.com>2016-12-13 00:27:48 -0700
commitef5b192d48cf581831d337fe1963fbb90944dc6f (patch)
tree68b254a2d88df6b04a593fb9d22a4a5098d07779 /test/paths_test.rb
parent1e38a00cbd79a4f45c7e7d7b2a712759faa5b711 (diff)
resolves #1965 make start argument to system_path optional (PR #1966)
Diffstat (limited to 'test/paths_test.rb')
-rw-r--r--test/paths_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/paths_test.rb b/test/paths_test.rb
index f7fd96c2..ab66e4cc 100644
--- a/test/paths_test.rb
+++ b/test/paths_test.rb
@@ -185,6 +185,7 @@ context 'Path Resolver' do
pwd = File.expand_path(Dir.pwd)
assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png', '')
assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png', nil)
+ assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png')
end
test 'resolves relative hidden target relative to current directory if start is empty' do