summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-11-03 08:17:34 -0500
committerChris Michael <cp.michael@samsung.com>2014-11-03 08:17:34 -0500
commit652e2f688bb7c7057e69a4740181c12f17aa4e1d (patch)
tree2f9c37e28c050425d5001af8c20c99bec537c5d4
parentcb84017a3f4ae6b3c13ee9fe7c0dca04a16aa43c (diff)
ecore-tests: Fix formatting
Summary: No functional changes, just formatting. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/tests/ecore/ecore_test_ecore_file.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_file.c b/src/tests/ecore/ecore_test_ecore_file.c
index dfeb72de0d..cd06d20c0f 100644
--- a/src/tests/ecore/ecore_test_ecore_file.c
+++ b/src/tests/ecore/ecore_test_ecore_file.c
@@ -18,10 +18,8 @@ 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 { 22 f = fopen(filePath, "w");
23 f = fopen(filePath, "w");
24 }
25 fail_if(f == NULL); 23 fail_if(f == NULL);
26 fprintf(f, "%s\n", text); 24 fprintf(f, "%s\n", text);
27 fclose(f); 25 fclose(f);