You can add the test here: https://github.com/jbehave/jbehave-core/blob/master/jbehave-core/src/test/java/org/jbehave/core/io/UnderscoredToCapitalizedBehaviour.java
> On 13 Aug 2015, at 07:43, Cheng-Hung Hsueh <[email protected]> wrote: > > I uploaded the example on > https://github.com/sih4sing5hong5/JBehaveWithUnicodeFilename . > > I ran `mvn test -Dtest=漢字試驗` and got failed. > > The stack was > > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 > at > java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:872) > at java.lang.StringBuilder.substring(StringBuilder.java:72) > at > org.jbehave.core.io.UnderscoredCamelCaseResolver.resolveName(UnderscoredCamelCaseResolver.java:77) > at > org.jbehave.core.io.AbstractStoryPathResolver.resolve(AbstractStoryPathResolver.java:20) > at org.jbehave.core.junit.JUnitStory.run(JUnitStory.java:22) > ... > > How should I do first? > > Where I add this tests in <https://github.com/jbehave/jbehave-core>? > > -- > You received this message because you are subscribed to the Google Groups > "JBehave User" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/jbehave-user/e29657ec-0e0b-45d1-b924-be2adec7b9d8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "JBehave User" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/jbehave-user/16BAFD37-4513-448B-AB9C-D32EC29359A2%40aquilonia.org. For more options, visit https://groups.google.com/d/optout.
