Skip to content

Commit

Permalink
fix a bug for issue #122.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmi committed Jun 23, 2014
1 parent 431b718 commit 1d26f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/jp/vmi/selenium/selenese/TestSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public void addSelenese(Selenese selenese) {
* @param commandFactory command factory.
*/
public void addSeleneseFile(String filename, ICommandFactory commandFactory) {
filename = PathUtils.normalizeSeparator(filename);
if (FilenameUtils.getPrefixLength(filename) == 0 && parentDir != null)
filename = FilenameUtils.concat(parentDir, filename);
addSelenese(Parser.parse(filename, commandFactory));
Expand Down

0 comments on commit 1d26f8a

Please sign in to comment.