summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-11-10 11:36:48 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-10 11:36:48 +0100
commit1721c8e0437a3030dc9dbf8b43d1c0f65b007a18 (patch)
treec94882332fd85e5f8f6ee0deadf8e4a8fbccc4f9
parent2c35578a658dd2c4ac6accb66eff1c5ffd6056ca (diff)
Revert "ecore-tests: Fix formatting"
This commit alone is fine but it does changes to another commit that needs reverting as it breaks make check / distcheck and thus this one has to be reverted as well. This reverts commit 652e2f688bb7c7057e69a4740181c12f17aa4e1d.
-rw-r--r--src/tests/ecore/ecore_test_ecore_file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_file.c b/src/tests/ecore/ecore_test_ecore_file.c
index cd06d20c0f..dfeb72de0d 100644
--- a/src/tests/ecore/ecore_test_ecore_file.c
+++ b/src/tests/ecore/ecore_test_ecore_file.c
@@ -18,8 +18,10 @@ void
18_writeToFile(char *filePath, char *text) 18_writeToFile(char *filePath, char *text)
19{ 19{
20 FILE *f = fopen(filePath, "r+"); 20 FILE *f = fopen(filePath, "r+");
21 if (f == NULL) 21 if(f == NULL)
22 f = fopen(filePath, "w"); 22 {
23 f = fopen(filePath, "w");
24 }
23 fail_if(f == NULL); 25 fail_if(f == NULL);
24 fprintf(f, "%s\n", text); 26 fprintf(f, "%s\n", text);
25 fclose(f); 27 fclose(f);