Skip to content

Commit 0485a56

Browse files
authored
Merge pull request #7 from egoughnour/master
Enabling merge
2 parents e0eec70 + 4c70289 commit 0485a56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/org/jenkinsci/plugins/vstest_runner/FileSetTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import hudson.model.FreeStyleProject;
3232
import hudson.model.Result;
3333
import hudson.slaves.EnvironmentVariablesNodeProperty;
34+
import java.io.File;
3435
import java.io.IOException;
3536
import org.apache.commons.io.FileUtils;
3637
import static org.junit.Assert.assertTrue;
@@ -115,6 +116,6 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
115116
String s = FileUtils.readFileToString(build.getLogFile());
116117
//assertTrue(s.contains("no file matches the pattern **\\*.Tests.dll"));
117118
//String content = build.getWorkspace().child("AssemblyVersion.cs").readToString();
118-
assertTrue(s.contains("aaa/aaa.Tests.dll"));
119+
assertTrue(s.contains("aaa" + File.separator + "aaa.Tests.dll"));
119120
}
120121
}

0 commit comments

Comments
 (0)