1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Adjust path
Fix test that is coded for a specific project directory structure.
Author: Abhijith PA <abhijith@debian.org>
Forwarded: not-needed
Last-Update: 2025-02-10
--- a/test/app_goes_meta.rb
+++ b/test/app_goes_meta.rb
@@ -10,7 +10,7 @@ class Goesmeta::Test < TestCase
meta = value = options[:_meta]
value = "nil" if meta == nil
assert meta != nil, "meta data was not added. #{value}"
- assert meta[:file].include?("/camping/camping/test/app_goes_meta.rb"), "Wait a minute. This app Goesmeta, has a wonky creation location. #{meta[:file]}"
+ assert meta[:file].include?("/test/app_goes_meta.rb"), "Wait a minute. This app Goesmeta, has a wonky creation location. #{meta[:file]}"
assert meta[:line_number] == 4, "App creation location line number is wrong. It's supposed to be 4."
end
|