mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Changed the name of the directory from git to repo.
This commit is contained in:
parent
a9c8deca7f
commit
dd6c38dd5b
7 changed files with 20 additions and 8 deletions
|
@ -56,9 +56,9 @@ public class FileUtil {
|
|||
byte[] secondContents = Files.readAllBytes(second);
|
||||
boolean equals = Arrays.equals(firstContents, secondContents);
|
||||
if (!equals) {
|
||||
// System.out.println("Not equal: (" + first + ", " + second + ")");
|
||||
// System.out.println(first + ": " + new String(firstContents));
|
||||
// System.out.println(second + ": " + new String(secondContents));
|
||||
System.out.println("Not equal: (" + first + ", " + second + ")");
|
||||
System.out.println(first + ": " + new String(firstContents));
|
||||
System.out.println(second + ": " + new String(secondContents));
|
||||
}
|
||||
return equals;
|
||||
} catch (IOException e) {
|
||||
|
|
|
@ -18,8 +18,7 @@ import java.nio.file.Path;
|
|||
import java.nio.file.Paths;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Created by Winston on 11/01/15.
|
||||
|
@ -58,7 +57,7 @@ public class WLGitBridgeIntegrationTest {
|
|||
.call()
|
||||
.close();
|
||||
wlgb.stop();
|
||||
assertTrue(FileUtil.gitDirectoriesAreEqual(getResource("/canCloneARepository/state/git"), git.toPath()));
|
||||
assertTrue(FileUtil.gitDirectoriesAreEqual(getResource("/canCloneARepository/state/repo"), git.toPath()));
|
||||
}
|
||||
|
||||
private String makeConfigFile() throws IOException {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 3c01dd67c26f031763282b1436b91bdb5309cda4
|
|
@ -0,0 +1 @@
|
|||
This text is from another file.
|
|
@ -0,0 +1 @@
|
|||
content
|
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
|
||||
<title>Error 404 </title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>HTTP ERROR: 404</h2>
|
||||
<p>Problem accessing /canCloneARepository/state/repo/min_mean_wait_evm_7_eps_150dpi.png. Reason:
|
||||
<pre> Not Found</pre></p>
|
||||
<hr /><i><small>Powered by Jetty://</small></i>
|
||||
</body>
|
||||
</html>
|
|
@ -31,7 +31,7 @@
|
|||
],
|
||||
"atts": [
|
||||
{
|
||||
"url": "http://127.0.0.1:60000/canCloneARepository/state/git/min_mean_wait_evm_7_eps_150dpi.png",
|
||||
"url": "http://127.0.0.1:60000/canCloneARepository/state/repo/min_mean_wait_evm_7_eps_150dpi.png",
|
||||
"path": "min_mean_wait_evm_7_eps_150dpi.png"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue