Test never run on Windows #8

Closed mlvtito opened this issue on 6 Mar 2017 - 0 comments

mlvtito commented on 6 Mar 2017

Because of path separator, test never start on Windows when "Compile on save" option is set.

In CompiledFileObserver.actionForCompiledClassWatcher, add

Path compiled = Paths.get(compiledFile.getPath());
if( eventPath.equals(compiledPath) {
...

compiledFile.getPath() return path with "/" separator.

mlvtito added a commit that referenced this issue on 8 Mar 2017
1867f2e ( #8 ) use same object to represent file path everywhere
mlvtito closed this issue on 8 Mar 2017
Labels

Priority
No priority
Milestone
0.2.2
Assignee
mlvtito
1 participant