From 70929c841866ad6c36a1e61f6823b41156527d60 Mon Sep 17 00:00:00 2001 From: Alexander Kreft <akreft@trineo.org> Date: Fri, 27 Aug 2021 11:59:59 +0000 Subject: [PATCH] STY: auto format --- test/runtests.jl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 34e4502..aeaef88 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -164,20 +164,22 @@ using CaosDB @test CaosDB.Entity.get_name( CaosDB.Entity.get_properties(rec_with_parent_and_props)[2], ) == "Property3" - + f = touch("caosdbfilefortests.txt") write(f, "Content") - file_ent = CaosDB.Entity.create_file_entity(name= "TestFile", - local_path = string(pwd(),"/","caosdbfilefortests.txt"), - remote_path = "/remote_path/file.txt") + file_ent = CaosDB.Entity.create_file_entity( + name = "TestFile", + local_path = string(pwd(), "/", "caosdbfilefortests.txt"), + remote_path = "/remote_path/file.txt", + ) @test CaosDB.Entity.get_role(file_ent) == "FILE" @test CaosDB.Entity.get_name(file_ent) == "TestFile" # local file not found - rm(string(pwd(),"/","caosdbfilefortests.txt")) + rm(string(pwd(), "/", "caosdbfilefortests.txt")) @test_throws CaosDB.Exceptions.ClientException CaosDB.Entity.create_file_entity( - name= "TestFile", - local_path = string(pwd(),"/","caosdbfilefortests.txt"), - remote_path = "/remote_path/file.txt" + name = "TestFile", + local_path = string(pwd(), "/", "caosdbfilefortests.txt"), + remote_path = "/remote_path/file.txt", ) end -- GitLab