Skip to content
Snippets Groups Projects
Commit 8fadd682 authored by florian's avatar florian
Browse files

STY: autoformat

parent cdb670c0
No related branches found
No related tags found
1 merge request!4ENH: Add minimal functionality
Pipeline #10909 failed
......@@ -63,7 +63,7 @@ function evaluate_return_code(code::Cint)
(:caosdb_get_status_description, CaosDB.library_name),
Cstring,
(Cint,),
code
code,
)
throw(GenericCaosDBException(unsafe_string(msg), code))
end
......
......@@ -35,7 +35,11 @@ using CaosDB
@testset "TestExceptions" begin
@test CaosDB.Exceptions.evaluate_return_code(Cint(0)) == nothing
@test_throws CaosDB.Exceptions.CaosDBException CaosDB.Exceptions.evaluate_return_code(Cint(14))
@test_throws CaosDB.Exceptions.GenericCaosDBException CaosDB.Exceptions.evaluate_return_code(Cint(14))
@test_throws CaosDB.Exceptions.CaosDBException CaosDB.Exceptions.evaluate_return_code(
Cint(14),
)
@test_throws CaosDB.Exceptions.GenericCaosDBException CaosDB.Exceptions.evaluate_return_code(
Cint(14),
)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment