[
https://issues.apache.org/jira/browse/FREEMARKER-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952314#comment-14952314
]
ASF GitHub Bot commented on FREEMARKER-3:
-----------------------------------------
GitHub user woonsan opened a pull request:
https://github.com/apache/incubator-freemarker/pull/2
FREEMARKER-3: fixing unit tests - env issues on OSX or non-Windows
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/woonsan/incubator-freemarker
feature/FREEMARKER-3-fix-unit-tests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-freemarker/pull/2.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2
----
commit 8bb53f42d5243c8efc3ed0ec42b93c8138c2e733
Author: Woonsan Ko <[email protected]>
Date: 2015-10-11T15:29:10Z
FREEMARKER-3: fixing unit tests - env issues on OSX or non-Windows systems
----
> FileTemplateLoaderTest and ASTTest fails test on non-Windows env
> ----------------------------------------------------------------
>
> Key: FREEMARKER-3
> URL: https://issues.apache.org/jira/browse/FREEMARKER-3
> Project: Apache Freemarker
> Issue Type: Bug
> Environment: - OS X 10.10.5 x86_64
> - Apache Ant(TM) version 1.9.6 compiled on June 29 2015
> - Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Reporter: Woonsan Ko
>
> From master, if you run `ant test' on OS X (Ant 1.9 / Java 1.8), two tests
> fail:
> {noformat}
> [junit] TEST freemarker.cache.FileTemplateLoaderTest FAILED
> [junit] TEST freemarker.core.ASTTest FAILED
> {noformat}
> Those look like an environment related issue. FileTemplateLoaderTest seems
> failing when resolving file in case-sensitive way and ASTTest seems failing
> due to EOL issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)