sahvx655-wq opened a new pull request, #514:
URL: https://github.com/apache/felix-dev/pull/514

   Fixes failures in `ConfigInstallerTest` and `DirectoryWatcherTest` caused by 
platform-dependent URI construction in mock expectations.
   
   The tests previously constructed expected file URIs by manually 
concatenating strings (for example, prefixing paths with `"file:"`). This 
approach can produce URI formats that differ across operating systems and may 
not match the URIs generated by the implementation.
   
   Replace manual URI construction with `File.toURI()` to ensure test 
expectations use the same platform-independent URI representation as the 
production code, eliminating OS-specific test failures.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to