Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: tests/standalone/io/addlatexhash_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/addlatexhash_test.dart
diff --git a/tests/standalone/io/addlatexhash_test.dart b/tests/standalone/io/addlatexhash_test.dart
index 861f4967e6b0a5beb68581491459d983d325e3cf..46f8dbcc48f8dc17fc163669f9668c7e0ed73387 100755
--- a/tests/standalone/io/addlatexhash_test.dart
+++ b/tests/standalone/io/addlatexhash_test.dart
@@ -160,7 +160,7 @@ testSameDVI(String tmpDirPath) {
if (dartExecutable == "") throw "dart executable not available";
// actions to take; rely on having latex and dvi2tty in PATH
- runLatex(fileName,workingDirectory) =>
+ runLatex(fileName, workingDirectory) =>
Process.runSync("latex", [fileName], workingDirectory: workingDirectory);
runAddHash() {
@@ -187,7 +187,7 @@ testSameDVI(String tmpDirPath) {
.writeAsStringSync(renewLMHashCmd, mode: FileMode.APPEND);
new File(specPath).copySync(tmpSpecPath);
- checkAction(runAddHash(),"addlatexhash.dart failed");
+ checkAction(runAddHash(), "addlatexhash.dart failed");
for (var i = 0; i < 5; i++) {
checkAction(runLatex(specName, tmpDirPath), "LaTeX on spec failed");
}
@@ -203,13 +203,11 @@ runWithTempDir(void test(String tempDir)) {
final tempDir = Directory.systemTemp.createTempSync("addlatexhash_test");
try {
test(tempDir.path);
- }
- finally {
+ } finally {
tempDir.delete(recursive: true);
}
}
-
main([args]) {
testCutMatch();
testSisp();

Powered by Google App Engine
This is Rietveld 408576698