Specifically, I\'m trying to create a unit test for a method which requires uses File.separatorChar to build paths on windows and unix. The code must run on bot
File.separatorChar
Just use / everywhere when constructing Files. I've been doing that for 13 years and never had a problem. Nothing to test either.